Skip to content

Commit

Permalink
Fix upload file button
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume AGNIERAY authored and trasher committed Sep 25, 2023
1 parent 45e8444 commit 0c70dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/default/vehicles.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
} %}
{% endif %}
<div class="ui file action input">
<input type="file" name="photo"/>
<label for="photo" class="ui button">
<input id="photo_file" type="file" name="photo"/>
<label for="photo_file" class="ui button">
<i class="blue upload icon"></i>
{% if car.hasPicture() %}{{ _T("Choose another file") }}{% else %}{{ _T("Choose a file") }}{% endif %}
</label>
Expand Down

0 comments on commit 0c70dc4

Please sign in to comment.