The tag label is better managed, and standard compliant

This commit is contained in:
echarp 2014-12-23 18:53:06 +01:00
parent 7f20b4db12
commit 80ead42da9
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=event_tags]').attr 'for', 's2id_autogen1'
$('label[for=tags]').attr 'for', 's2id_autogen1'

View File

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