Skip to content
Snippets Groups Projects
Unverified Commit 42ff4dce authored by Jeong Arm's avatar Jeong Arm Committed by GitHub
Browse files

Use type="color" on badge color input field (#18825)

This informs browser to use interactive color picker
parent 5d70a16a
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
= f.input :position, wrapper: :with_label, input_html: { max: current_user.role.position - 1 }
.fields-group
= f.input :color, wrapper: :with_label, input_html: { placeholder: '#000000' }
= f.input :color, wrapper: :with_label, input_html: { placeholder: '#000000', type: 'color' }
%hr.spacer/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment