The tag label is better managed, and standard compliant

This commit is contained in:
echarp 2014-12-23 18:56:49 +01:00
parent 80ead42da9
commit 1c4805c422
2 changed files with 2 additions and 2 deletions

View File

@ -17,4 +17,4 @@ $(document).ready ->
$('#event_start_time').val($('#event_end_time').val())
# Manage the tags label so it points the proper select2 input
$('label[for=tags]').attr 'for', 's2id_autogen1'
$('label[for=event_tags]').attr 'for', 's2id_autogen1'

View File

@ -74,7 +74,7 @@
.helper
:markdown
#{t '.tags_helper'}
= f.label :tags, for: 'tags'
= f.label :tags
= f.text_field :tags
.actions