FIx JS bug with select2 because of missing `data-field` attribute in select box.

This commit is contained in:
Patricio Cano 2016-10-11 13:01:57 -05:00
parent d57d892e3f
commit ea3bbbdef8
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
Git Large File Storage
= link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
.col-md-3
= f.select :lfs_enabled, [%w(Enabled true), %w(Disabled false)], {}, selected: @project.lfs_enabled?, class: 'pull-right form-control'
= f.select :lfs_enabled, [%w(Enabled true), %w(Disabled false)], {}, selected: @project.lfs_enabled?, class: 'pull-right form-control', data: { field: 'lfs_enabled' }
- if Gitlab.config.registry.enabled
.form-group