1234567891011121314151617181920212223242526272829303132333435363738 |
- {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('limits')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$id}">
- <input type="hidden" name="day" value="{$day}">
- <input type="hidden" name="typeId" value="{$typeId}">
- <div class="form-group">
- <label class="col-sm-3 control-label">最多选择几种菜(0代表不限制)<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="text" oninput="clearNoNum1(this)" class="form-control" name="limit" value="{$limit}">
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-6 col-sm-offset-3">
- <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("type", {$info.type|default=0});
- formSetValue("enable", {$info.enable|default=1});
- });
- </script>
- {/block}
|