MINOR: fixed issue where fields were hidden by default

This commit is contained in:
Will Rossiter 2009-04-25 02:54:37 +00:00
parent c136fa4cc4
commit 21e708156b

View File

@ -53,7 +53,7 @@
<h4>Custom Rules</h4> <h4>Custom Rules</h4>
<select name="$Name.Attr[ShowOnLoad]"> <select name="$Name.Attr[ShowOnLoad]">
<option value="Show" <% if ShowOnLoad %>selected="selected"<% end_if %>><% _t('SHOW', 'Show') %></option> <option value="Show" <% if ShowOnLoad %>selected="selected"<% end_if %>><% _t('SHOW', 'Show') %></option>
<option value="Hide" <% if ShowOnLoad %><% else %>selected="selected"<% end_if %>><% _t('HIDE', 'Hide') %></option> <option value="Hide" <% if ShowOnLoad %><% else %><% if Title %><% else %>selected="selected"<% end_if %><% end_if %>><% _t('HIDE', 'Hide') %></option>
</select> </select>
<label class="left">Field On Default</label> <label class="left">Field On Default</label>