|
|
<form id="edit-form" class="form-horizontal form-ajax" role="form" method="POST" action="">
|
|
|
<div class="form-group">
|
|
|
<label for="pid" class="control-label col-xs-12 col-sm-2">{:__('Parent')}:</label>
|
|
|
<label for="content" class="control-label col-xs-12 col-sm-2">{:__('Ismenu')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
{:build_select('row[pid]', $ruledata, $row['pid'], ['class'=>'form-control selectpicker', 'required'=>''])}
|
|
|
{:build_radios('row[ismenu]', ['1'=>__('Yes'), '0'=>__('No')], $row['ismenu'])}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label for="action" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
|
|
<label for="pid" class="control-label col-xs-12 col-sm-2">{:__('Parent')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input type="text" class="form-control" id="title" name="row[title]" value="{$row.title}" required="required" />
|
|
|
{:build_select('row[pid]', $ruledata, $row['pid'], ['class'=>'form-control selectpicker', 'required'=>''])}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
@@ -18,6 +18,12 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label for="action" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input type="text" class="form-control" id="title" name="row[title]" value="{$row.title}" required="required" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label for="icon" class="control-label col-xs-12 col-sm-2">{:__('Icon')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<div class="input-group input-groupp-md">
|
...
|
...
|
|