[#667] linked labels to their elements

This commit is contained in:
Romano Licker 2011-10-20 17:50:50 +02:00 committed by Holger Just
parent 2c0fcd3bca
commit ecf6a9636a
1 changed files with 4 additions and 4 deletions

View File

@ -6,11 +6,11 @@
<% form_tag({}, :method => 'get') do %> <% form_tag({}, :method => 'get') do %>
<p> <p>
<label><%=l(:label_role)%>:</label> <label><%=l(:label_role)%>:
<%= select_tag 'role_id', options_from_collection_for_select(@roles, "id", "name", @role && @role.id) %> <%= select_tag 'role_id', options_from_collection_for_select(@roles, "id", "name", @role && @role.id) %></label>
<label><%=l(:label_tracker)%>:</label> <label><%=l(:label_tracker)%>:
<%= select_tag 'tracker_id', options_from_collection_for_select(@trackers, "id", "name", @tracker && @tracker.id) %> <%= select_tag 'tracker_id', options_from_collection_for_select(@trackers, "id", "name", @tracker && @tracker.id) %></label>
<%= hidden_field_tag 'used_statuses_only', '0' %> <%= hidden_field_tag 'used_statuses_only', '0' %>
<label><%= check_box_tag 'used_statuses_only', '1', @used_statuses_only %> <%= l(:label_display_used_statuses_only) %></label> <label><%= check_box_tag 'used_statuses_only', '1', @used_statuses_only %> <%= l(:label_display_used_statuses_only) %></label>