Skip to content

Commit

Permalink
Fixed colorfield class
Browse files Browse the repository at this point in the history
Fixed colorfield ignoring class attr during rendering.
  • Loading branch information
N1K1TAS95 authored Jun 8, 2022
1 parent 479d9c1 commit 2c49a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colorfield/templates/colorfield/color.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<input type="text"
id="{{ id }}"
class="form-control colorfield_field jscolor"
class="colorfield_field jscolor {% if class %}{{ class }}{% else %}form-control{% endif %}"
name="{{ name }}"
value="{% firstof value default '' %}"
placeholder="{% firstof value default '' %}"
Expand Down

0 comments on commit 2c49a85

Please sign in to comment.