123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form method="post" action="{:url('number')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$info['id']}">
- <input type="hidden" name="seqId" value="{$info['seqId']}">
- <div class="form-group">
- <label class="col-sm-2 control-label">序号</label>
- <div class="col-sm-6">
- <input type="text" readonly class="form-control" value="{$info.seqId}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">姓名</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" name="name" value="{$info.name}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">手机号</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" name="num" value="{$info.num}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">设为SOS号码</label>
- <div class="col-sm-6">
- <label class="cr-inline">
- <input type="radio" value="1" name="dial_flag">是
- </label>
- <label class="cr-inline">
- <input type="radio" value="0" name="dial_flag">否
- </label>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-4 col-sm-offset-2">
- <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script>
- $(document).ready(function(){
- formSetValue("dial_flag", {$info.dial_flag|default=0});
- });
- </script>
- {/block}
|