MINOR Aligned the 'Add field' buttons and drop down

This commit is contained in:
Stig Lindqvist 2012-05-10 17:52:49 +12:00
parent bfb99a4f20
commit 89c7cf8a15
2 changed files with 15 additions and 15 deletions

View File

@ -10,7 +10,6 @@
border: 1px solid #ddd;
background: #f4f4f4;
overflow: hidden;
padding: 4px 0;
width: 100%;
}
.MenuHolder h2 {
@ -21,13 +20,13 @@
.MenuHolder select {
float: left;
width: 240px;
margin: 7px 0 0 8px;
margin: 18px 0 0 8px;
font-size: 11px;
}
.MenuHolder .action {
float: left;
margin: 7px 0 0 4px;
margin: 14px 0 0 4px;
font-size: 11px;
}

View File

@ -10,20 +10,21 @@
<% end_control %>
</ul>
</div>
<% if canEdit %>
<div class="MenuHolder">
<h2><% _t('ADD', 'Add') %></h2>
<select name="AddUserFormField" id="AddUserFormField">
<option value=""><% _t('SELECTAFIELD', 'Select a Field') %></option>
<div class="MenuHolder">
<h2><% _t('ADD', 'Add') %></h2>
<% control CreatableFields %>
<option value="$ClassName">$Title</option>
<% end_control %>
</select>
<select name="AddUserFormField" id="AddUserFormField">
<option value=""><% _t('SELECTAFIELD', 'Select a Field') %></option>
<input type="submit" class="action" value="<% _t('ADD', 'Add') %>" />
</div>
<% control CreatableFields %>
<option value="$ClassName">$Title</option>
<% end_control %>
</select>
<input type="submit" class="action" value="<% _t('ADD', 'Add') %>" />
</div>
<% end_if %>
</div>