Skip to content

Commit

Permalink
class名指定時の崩れを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
h.matsuo committed Sep 2, 2021
1 parent 8a7bf27 commit 07528a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ file that was distributed with this source code.
{% endblock %}

{%- block file_widget -%}
{%- set attr = attr|merge({class: (attr.class|default('') ~ 'form-control-file')|trim}) -%}
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-control-file')|trim}) -%}
<input type="file" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %}/>
{%- endblock -%}

0 comments on commit 07528a6

Please sign in to comment.