mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 10:15:03 +02:00
fix option select custom field
This commit is contained in:
parent
eb970b257a
commit
c9778e71b9
3 changed files with 8 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{if $register}
|
||||
<div class="form-group">
|
||||
<label>{ucwords($field['name'])}</label>
|
||||
<label>{ucwords(str_replace('_',' ', $field['name']))}</label>
|
||||
{if $field['type'] == 'option'}
|
||||
<select class="form-control" {if $field['required'] == 1} required{/if} name="{$field['name']}" style="width: 100%">
|
||||
{assign var="opts" value=explode(',', $field['value'])}
|
||||
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
{else}
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{ucwords($field['name'])}</label>
|
||||
<label class="col-md-3 control-label">{ucwords(str_replace('_',' ', $field['name']))}</label>
|
||||
<div class="col-md-9">
|
||||
{if $field['type'] == 'option'}
|
||||
<select class="form-control" {if $field['required'] == 1} required{/if} name="{$field['name']}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue