Skip to content

Commit

Permalink
Merge pull request #2571 from nicovak/patch-1
Browse files Browse the repository at this point in the history
Update form_colorpicker.html.haml
  • Loading branch information
mshibuya committed Mar 21, 2016
2 parents dca8911 + d5d94f4 commit b7afa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/rails_admin/main/_form_colorpicker.html.haml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
= form.send field.view_helper, field.method_name, field.html_attributes.reverse_merge({value: field.form_value, style: "background-color: #{field.color}", data: {color: true}})
= form.send field.view_helper, field.method_name, field.html_attributes.reverse_merge({class: 'form-control', value: field.form_value, style: "background-color: #{field.color}", data: {color: true}})

0 comments on commit b7afa5e

Please sign in to comment.