Merge pull request #15 from finnlabs/fix/accessibility_link_form_elements_2154

[FIX] Accessibility link form elements 2154
pull/6827/head
Till Breuer 11 years ago
commit 08dfd631e1
  1. 2
      CHANGELOG.md
  2. 2
      app/views/roles/_member_attributes.html.erb

@ -1,5 +1,7 @@
# Changelog
* `#2154` [Accessibility] Link form elements to their label - new role
## 1.0.1.pre3
* Adaptations for new icon font

@ -12,6 +12,6 @@ See doc/COPYRIGHT.rdoc for more details.
<p><%= f.check_box :assignable %></p>
<% if role.new_record? && roles.any? %>
<p><label><%= l(:label_copy_workflow_from) %></label>
<p><label for="copy_workflow_from"><%= l(:label_copy_workflow_from) %></label>
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@roles.select{|r| !r.is_a?(GlobalRole)}, :id, :name)) %></p>
<% end %>

Loading…
Cancel
Save