Skip to content

Commit

Permalink
Merge pull request #553 from alphagov/fix-label-in-component-guide
Browse files Browse the repository at this point in the history
Fix label in component guide
  • Loading branch information
tijmenb committed Oct 1, 2018
2 parents cf1bcef + 3f4f1be commit 9309354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<%= content_tag :div, class: form_group_css_classes do %>
<% if label %>
<%= render "govuk_publishing_components/components/label", { html_for: id, text: label[:text] }.merge(label) %>
<%= render "govuk_publishing_components/components/label", { html_for: id, text: label[:text] }.merge(label.symbolize_keys) %>
<% end %>
<% if hint %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<% if label %>
<%= render "govuk_publishing_components/components/label", {
html_for: id
}.merge(label) %>
}.merge(label.symbolize_keys) %>
<% end %>
<% if hint %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<%= content_tag :div, class: form_group_css_classes do %>
<% if label %>
<%= render "govuk_publishing_components/components/label", { html_for: id }.merge(label) %>
<%= render "govuk_publishing_components/components/label", { html_for: id }.merge(label.symbolize_keys) %>
<% end %>
<% if hint %>
Expand Down

0 comments on commit 9309354

Please sign in to comment.