Commit 28fc9088 authored by Adam Niedzielski's avatar Adam Niedzielski

Fix label so it's linked to the input.

parent 736ff981
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
%strong= link_to "here", help_page_path("user/permissions"), class: "vlink" %strong= link_to "here", help_page_path("user/permissions"), class: "vlink"
.form-group .form-group
= f.label :expires_at, "Access expiration date", class: 'control-label' = label_tag :expires_at, "Access expiration date", class: 'control-label'
.col-sm-10 .col-sm-10
= text_field_tag :expires_at, nil, class: "datepicker form-control", placeholder: "Select access expiration date" = text_field_tag :expires_at, nil, class: "datepicker form-control", placeholder: "Select access expiration date"
.help-block .help-block
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment