gearheads
/
mastodon
Archived
2
0
Fork 0

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

This informs browser to use interactive color picker
gh/stable
Jeong Arm 2022-08-25 11:38:34 +09:00 committed by GitHub
parent 5d70a16a14
commit 42ff4dce41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/