Beispiel #1
0
        <input type="hidden" id="podrazdel_kim_id" value="">
    </div>
    <div class="form-group">
        ' . KimTypeWidget::widget(['params' => ['id' => 'podrazdel_kim']]) . '
    </div>
     <button class="btn btn-default btn-primary" type="button" onclick="save_podrazdel_kim()">Сохранить</button> <span onclick="hide_form(\'add_podrazdel_kim_form\')" class="slink">отмена</span>
</div>';
echo '
<div class=" umk-form podrazdel-form hidden" id="add_podrazdel_umk_form">
    <div class="form-group">
        <label for="podrazdel_umk_opisanie">Описание</label>
        <textarea class="form-control" id="podrazdel_umk_opisanie"></textarea>
        <input type="hidden" id="umk_podrazdel_id" value="">
    </div>
    <div class="form-group">
        ' . \app\widgets\UmkTypeWidget::widget(['params' => ['id' => 'podrazdel_umk']]) . '
    </div>

     <button class="btn btn-default btn-primary" type="button" onclick="save_podrazdel_umk()">Сохранить</button> <span onclick="hide_form(\'add_podrazdel_umk_form\')" class="slink">отмена</span>
</div>';
//КИМ курса
echo '
<div class=" cc-form podrazdel-form hidden" id="add_kurs_kim_form">
    <div class="form-group">
        <label for="kurs_kim_opisanie">Описание</label>
        <textarea class="form-control" id="kurs_kim_opisanie"></textarea>
        <input type="hidden" id="kim_kurs_id" value="">
    </div>
    <div class="form-group">
        ' . KimTypeWidget::widget(['params' => ['id' => 'kurs_kim']]) . '
    </div>
Beispiel #2
0
    </div>
    <div class="form-group">
        ' . \app\widgets\UmkTypeWidget::widget(['params' => ['id' => 'podrazdel_umk']]) . '
    </div>

     <button class="btn btn-default" type="button" onclick="save_podrazdel_umk()">Сохранить</button> <span onclick="hide_form(\'add_podrazdel_umk_form\')" class="slink">отмена</span>
</div>';
echo '
<div class="podrazdel-form top_arrow hidden" id="edit_umk_form">
    <div class="form-group">
        <label for="umk_edit_opisanie">Описание</label>
        <textarea class="form-control" id="umk_edit_opisanie"></textarea>
        <input type="hidden" id="umk_id" value="">
    </div>
     <div class="form-group">
        ' . \app\widgets\UmkTypeWidget::widget(['params' => ['id' => 'umk_edit']]) . '
    </div>
     <button class="btn btn-default" type="button" onclick="save_edit_umk()">Сохранить</button> <span onclick="hide_form(\'edit_umk_form\')" class="slink">отмена</span>
</div>';
echo '
<div class=" cc-form podrazdel-form hidden" id="add_podrazdel_kim_form">
    <div class="form-group">
        <label for="podrazdel_kf_kim_opisanie">Описание</label>
        <textarea class="form-control" id="podrazdel_kf_kim_opisanie"></textarea>
        <input type="hidden" id="podrazdel_kim_id" value="">
    </div>
    <div class="form-group">
        ' . KimTypeWidget::widget(['params' => ['id' => 'podrazdel_kim']]) . '
    </div>
     <button class="btn btn-default" type="button" onclick="save_podrazdel_kim()">Сохранить</button> <span onclick="hide_form(\'add_podrazdel_kim_form\')" class="slink">отмена</span>
</div>';