Update customfield.tpl
This commit is contained in:
parent
eee1ad72f8
commit
7396bcdddf
@ -9,22 +9,19 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{Lang::T("Sequence")}</label>
|
||||
<div class="col-md-8">
|
||||
<input type="number" class="form-control" name="order[]" style="width: 100%" value="99"
|
||||
placeholder="99">
|
||||
<input type="number" class="form-control" name="order[]" style="width: 100%" value="99" placeholder="99">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{Lang::T("Name")}</label>
|
||||
<div class="col-md-8">
|
||||
<input type="text" class="form-control" name="name[]" style="width: 100%"
|
||||
placeholder="Your Salary">
|
||||
<input type="text" class="form-control" name="name[]" style="width: 100%" placeholder="Your Salary">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Placeholder</label>
|
||||
<div class="col-md-8">
|
||||
<input type="text" class="form-control" name="placeholder[]" style="width: 100%"
|
||||
placeholder="this is placeholder">
|
||||
<input type="text" class="form-control" name="placeholder[]" style="width: 100%" placeholder="this is placeholder">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -36,16 +33,15 @@
|
||||
<option value="time">{Lang::T("Time")}</option>
|
||||
<option value="number">{Lang::T("Number")}</option>
|
||||
<option value="option">{Lang::T("Option")}</option>
|
||||
{* <option value="image">{Lang::T("Image")}</option> *}
|
||||
<!-- <option value="image">{Lang::T("Image")}</option> -->
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{Lang::T("Option Values")}</label>
|
||||
<div class="col-md-8">
|
||||
<input type="text" class="form-control" name="value[]" style="width: 100%"
|
||||
placeholder="Male,Female">
|
||||
<span class="help-block">{Lang::T("Use comma separated values for this option.")}.</span>
|
||||
<input type="text" class="form-control" name="value[]" style="width: 100%" placeholder="Male,Female">
|
||||
<span class="help-block">{Lang::T("Use comma separated values for this option.")}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -82,22 +78,19 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{Lang::T("Sequence")}</label>
|
||||
<div class="col-md-8">
|
||||
<input type="number" class="form-control" name="order[]" style="width: 100%"
|
||||
value="{$field['order']}" placeholder="99">
|
||||
<input type="number" class="form-control" name="order[]" style="width: 100%" value="{$field['order']}" placeholder="99">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{Lang::T("Name")}</label>
|
||||
<div class="col-md-8">
|
||||
<input type="text" class="form-control" name="name[]" style="width: 100%"
|
||||
placeholder="Your Salary" value="{$field['name']}">
|
||||
<input type="text" class="form-control" name="name[]" style="width: 100%" placeholder="Your Salary" value="{$field['name']}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Placeholder</label>
|
||||
<div class="col-md-8">
|
||||
<input type="text" class="form-control" name="placeholder[]" style="width: 100%"
|
||||
placeholder="this is placeholder" value="{$field['placeholder']}">
|
||||
<input type="text" class="form-control" name="placeholder[]" style="width: 100%" placeholder="this is placeholder" value="{$field['placeholder']}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -109,16 +102,15 @@
|
||||
<option value="time" {if $field['type'] == 'time'}selected{/if}>{Lang::T("Time")}</option>
|
||||
<option value="number" {if $field['type'] == 'number'}selected{/if}>{Lang::T("Number")}</option>
|
||||
<option value="option" {if $field['type'] == 'option'}selected{/if}>{Lang::T("Option")}</option>
|
||||
{* <option value="image" {if $field['type'] == 'image'}selected{/if}>{Lang::T("Image")}</option> *}
|
||||
<!-- <option value="image" {if $field['type'] == 'image'}selected{/if}>{Lang::T("Image")}</option> -->
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">{Lang::T("Option Values")}</label>
|
||||
<div class="col-md-8">
|
||||
<input type="text" class="form-control" name="value[]" style="width: 100%"
|
||||
placeholder="Male,Female" value="{$field['value']}">
|
||||
<span class="help-block">{Lang::T("Use comma separated values for this option.")}.</span>
|
||||
<input type="text" class="form-control" name="value[]" style="width: 100%" placeholder="Male,Female" value="{$field['value']}">
|
||||
<span class="help-block">{Lang::T("Use comma separated values for this option.")}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group {if $field['register'] == 1}has-success{/if}">
|
||||
@ -130,8 +122,8 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group {if $field['required'] == 1}has-error{/if}"">
|
||||
<label class=" col-md-4 control-label">{Lang::T("Required")}</label>
|
||||
<div class="form-group {if $field['required'] == 1}has-error{/if}">
|
||||
<label class="col-md-4 control-label">{Lang::T("Required")}</label>
|
||||
<div class="col-md-8">
|
||||
<select class="form-control" name="required[]" style="width: 100%">
|
||||
<option value="1" {if $field['required'] == 1}selected{/if}>{Lang::T("Yes")}</option>
|
||||
@ -145,7 +137,6 @@
|
||||
<button class="btn btn-success btn-sm btn-block" type="submit">{Lang::T('Save')}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
{include file="sections/footer.tpl"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user