|
@@ -0,0 +1,82 @@
|
|
|
+<form id="edit-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">{:__('Pid')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-pid" class="form-control" name="row[pid]" type="number" value="{$row.pid|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--<div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Shortname')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-shortname" class="form-control" name="row[shortname]" type="text" value="{$row.shortname|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>-->
|
|
|
+ <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" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--<div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Mergename')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-mergename" class="form-control" name="row[mergename]" type="text" value="{$row.mergename|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>-->
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+
|
|
|
+ <select id="c-level" class="form-control selectpicker" name="row[level]">
|
|
|
+ {foreach name="levelList" item="vo"}
|
|
|
+ <option value="{$key}" {in name="key" value="$row.level"}selected{/in}>{$vo}</option>
|
|
|
+ {/foreach}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--<div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Pinyin')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-pinyin" class="form-control" name="row[pinyin]" type="text" value="{$row.pinyin|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-code" class="form-control" name="row[code]" type="text" value="{$row.code|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Zip')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-zip" class="form-control" name="row[zip]" type="text" value="{$row.zip|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('First')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-first" class="form-control" name="row[first]" type="text" value="{$row.first|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-lng" class="form-control" name="row[lng]" type="text" value="{$row.lng|htmlentities}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
|
|
|
+ <div class="col-xs-12 col-sm-8">
|
|
|
+ <input id="c-lat" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
|
|
|
+ </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-success btn-embossed disabled">{:__('OK')}</button>
|
|
|
+ <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
|
|
+ </div>
|
|
|
+ </div>-->
|
|
|
+</form>
|