Project

General

Profile

« Previous | Next » 

Revision 1ba8458a

Added by Dominic Cleal about 10 years ago

fixes #5038 - remove empty label causing template edit box indentation

(cherry picked from commit a33142b9cad0f15152c6ec683d7e7372350e9acc)

View differences:

app/views/users/_form.html.erb
<div class='tab-pane' id='locations'>
<%= location_selects(f, @user.used_or_selected_location_ids,
{ :disabled => @user.used_location_ids,
:label => '' } ,
:label => :none } ,
{ :onchange => 'taxonomy_added(this, "location")' } ) %>
</div>
<% end %>
......
<div class='tab-pane' id='organizations'>
<%= organization_selects(f, @user.used_or_selected_organization_ids,
{ :disabled => @user.used_organization_ids,
:label => '' },
:label => :none },
{ :onchange => 'taxonomy_added(this, "organization")' } ) %>
</div>
<% end %>

Also available in: Unified diff