You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
3.1 KiB
61 lines
3.1 KiB
2 years ago
|
<form id="add-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">{:__('Name')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Menuimage')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<div class="input-group">
|
||
|
<input id="c-menuimage" data-rule="required" class="form-control" size="50" name="row[menuimage]" type="text">
|
||
|
<div class="input-group-addon no-border no-padding">
|
||
|
<span><button type="button" id="faupload-menuimage" class="btn btn-danger faupload" data-input-id="c-menuimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-menuimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
||
|
<span><button type="button" id="fachoose-menuimage" class="btn btn-primary fachoose" data-input-id="c-menuimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
||
|
</div>
|
||
|
<span class="msg-box n-right" for="c-menuimage"></span>
|
||
|
</div>
|
||
|
<ul class="row list-inline faupload-preview" id="p-menuimage"></ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Typedata')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
|
||
|
<div class="radio">
|
||
|
{foreach name="typedataList" item="vo"}
|
||
|
<label for="row[typedata]-{$key}"><input id="row[typedata]-{$key}" name="row[typedata]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
|
||
|
{/foreach}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Catedata')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
|
||
|
<div class="radio">
|
||
|
{foreach name="catedataList" item="vo"}
|
||
|
<label for="row[catedata]-{$key}"><input id="row[catedata]-{$key}" name="row[catedata]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
|
||
|
{/foreach}
|
||
|
</div>
|
||
|
|
||
|
</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>
|
||
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|