From 7df005e8ee8d3983581f535fe898017cb73ec1ff Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Wed, 8 Jan 2014 08:52:05 +0100 Subject: [PATCH 1/2] Adds link betweeen label and select box --- app/views/roles/_member_attributes.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/roles/_member_attributes.html.erb b/app/views/roles/_member_attributes.html.erb index 778e86b7c7..0fa4e09d8d 100644 --- a/app/views/roles/_member_attributes.html.erb +++ b/app/views/roles/_member_attributes.html.erb @@ -12,6 +12,6 @@ See doc/COPYRIGHT.rdoc for more details.

<%= f.check_box :assignable %>

<% if role.new_record? && roles.any? %> -

+

<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@roles.select{|r| !r.is_a?(GlobalRole)}, :id, :name)) %>

<% end %> From fecea870779793d9f6d2fbe14d43216bd331cc96 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Wed, 8 Jan 2014 08:53:18 +0100 Subject: [PATCH 2/2] Adds changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99bf9b1418..ced04ac6da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +* `#2154` [Accessibility] Link form elements to their label - new role + ## 1.0.1.pre3 * Adaptations for new icon font