Browse Source

css правки

master
Repellent 8 years ago
parent
commit
54f406c87c
  1. 6
      contactsnew/templates/form_fields.tpl

6
contactsnew/templates/form_fields.tpl

@ -75,7 +75,7 @@
<input type="hidden" name="fields[{$field.id}][type]" value="{$field.type|escape}"/> <input type="hidden" name="fields[{$field.id}][type]" value="{$field.type|escape}"/>
{else} {else}
<div class="nowrap"> <div class="nowrap">
<select name="fields[{$field.id}][type]" class="mousetrap form_field_type_change"> <select style="width:300px" name="fields[{$field.id}][type]" class="mousetrap form_field_type_change">
<option value="input" {if $field.type=='input'}selected="selected"{/if}>input</option> <option value="input" {if $field.type=='input'}selected="selected"{/if}>input</option>
<option value="textarea" {if $field.type=='textarea'}selected="selected"{/if}>textarea</option> <option value="textarea" {if $field.type=='textarea'}selected="selected"{/if}>textarea</option>
<option value="select" {if $field.type=='select'}selected="selected"{/if}>select</option> <option value="select" {if $field.type=='select'}selected="selected"{/if}>select</option>
@ -186,7 +186,7 @@
{/if} {/if}
{elseif ($field.type=='select' || $field.type=='multiselect')} {elseif ($field.type=='select' || $field.type=='multiselect')}
{if !$field.setting_empty} {if !$field.setting_empty}
<select name="fields[{$field.id}][defaultval]{if $field.type=='multiselect'}[]{/if}" {if $field.type=='multiselect'}multiple="multiple" size="{$field.setting|@count}" style="width:100%"{/if} class="mousetrap"> <select style="width:300px" name="fields[{$field.id}][defaultval]{if $field.type=='multiselect'}[]{/if}" {if $field.type=='multiselect'}multiple="multiple" size="{$field.setting|@count}" style="width:100%"{/if} class="mousetrap">
{foreach from=$field.setting item=item name=select} {foreach from=$field.setting item=item name=select}
{if $field.main && $field.title=='receivers'} {if $field.main && $field.title=='receivers'}
<option value="{$smarty.foreach.select.index}" {if $smarty.foreach.select.index==$field.defaultval}selected="selected"{/if}>{$item.name|escape}</option> <option value="{$smarty.foreach.select.index}" {if $smarty.foreach.select.index==$field.defaultval}selected="selected"{/if}>{$item.name|escape}</option>
@ -283,7 +283,7 @@
<input type="text" name="fields[0][title]" placeholder="{#title#}" class="mousetrap form_fields_new_title" /> <input type="text" name="fields[0][title]" placeholder="{#title#}" class="mousetrap form_fields_new_title" />
</td> </td>
<td> <td>
<select name="fields[0][type]" class="mousetrap"> <select style="width:300px" name="fields[0][type]" class="mousetrap">
<option value="input">input</option> <option value="input">input</option>
<option value="textarea">textarea</option> <option value="textarea">textarea</option>
<option value="select">select</option> <option value="select">select</option>

Loading…
Cancel
Save