Make social preview color a color field (#11903)

This commit is contained in:
Michael Kohl 2020-12-16 08:37:00 +07:00 committed by GitHub
parent ad1a59a14c
commit 4b9779dc82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,8 @@
</div>
<div class="form-group">
<%= label_tag :social_preview_color, "Color hex" %>
<%= text_field_tag :social_preview_color, @listing_category.social_preview_color, class: "form-control" %>
<%= label_tag :social_preview_color, "Social preview color" %>
<%= color_field_tag :social_preview_color, @listing_category.social_preview_color, class: "form-control" %>
</div>
<div class="form-group">