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.
57 lines
2.4 KiB
57 lines
2.4 KiB
<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">{:__('Type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-type" class="form-control" name="row[type]" type="number">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Cardname')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-cardname" class="form-control" name="row[cardname]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Cardno')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-cardno" class="form-control" name="row[cardno]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-address" class="form-control" name="row[address]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-money" class="form-control" step="0.01" name="row[money]" type="number">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<div class="radio">
|
|
{foreach name="statusList" item="vo"}
|
|
<label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
|
|
{/foreach}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-reason" class="form-control" name="row[reason]" type="text">
|
|
</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>
|
|
|