123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Doctor_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-doctor_id" data-rule="required" data-source="doctor/index" disabled data-field="nickname" class="form-control selectpage" name="row[doctor_id]" type="text" value="{$row.doctor_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Typing_switch')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <input id="c-typing_switch" name="row[typing_switch]" type="hidden" value="{$row.typing_switch}">
- <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-typing_switch" data-yes="1" data-no="0" >
- <i class="fa fa-toggle-on text-success {eq name="$row.typing_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
- </a>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Video_switch')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <input id="c-video_switch" name="row[video_switch]" type="hidden" value="{$row.video_switch}">
- <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-video_switch" data-yes="1" data-no="0" >
- <i class="fa fa-toggle-on text-success {eq name="$row.video_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
- </a>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Typing_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-typing_price" class="form-control" step="0.01" name="row[typing_price]" type="number" value="{$row.typing_price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Video_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-video_price" class="form-control" step="0.01" name="row[video_price]" type="number" value="{$row.video_price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Notice_switch')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <input id="c-notice_switch" name="row[notice_switch]" type="hidden" value="{$row.notice_switch}">
- <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-notice_switch" data-yes="1" data-no="0" >
- <i class="fa fa-toggle-on text-success {eq name="$row.notice_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
- </a>
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- </div>
- </div>
- </form>
|