Skip to content

Commit 0968ff5

Browse files
committed
Don't blank out <label for> attribute
Internet Explorer needs this attribute to make the label a click target.
1 parent 24c2ed2 commit 0968ff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/signatures/_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Only British citizens or UK residents have the right to sign
44
</span>
55
<%= error_messages_for_field signature, :uk_citizenship %>
6-
<%= form.label :uk_citizenship, class: "block-label", for: nil do %>
6+
<%= form.label :uk_citizenship, class: "block-label" do %>
77
<%= form.check_box :uk_citizenship, tabindex: increment %>
88
I am a British citizen or UK resident
99
<% end %>

0 commit comments

Comments
 (0)