Skip to content

Commit

Permalink
Allow translating field description fix #729
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Aug 4, 2016
1 parent 4a50d2f commit c837942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Hide tab when user is not authorized to access it [#712](https://github.com/getgrav/grav-plugin-admin/issues/712)
* Fixed Lists issue when reindexing, causing Radio fields to potentially lose their `checked` status
* Avoid overwriting a file when uploaded with the same filename through the Admin blueprint `file` field type if `avoid_overwriting` is enabled on the field
* Translate the description of a blueprint field [#729](https://github.com/getgrav/grav-plugin-admin/issues/729)

# v1.1.2
## 07/16/2016
Expand Down
2 changes: 1 addition & 1 deletion themes/grav/templates/forms/field.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{% endblock %}
{% if field.description %}
<div class="form-extra-wrapper {{ field.size }} {{ field.wrapper_classes }}">
<span class="form-description">{{ field.description|raw }}</span>
<span class="form-description">{{ field.description|tu|raw }}</span>
</div>
{% endif %}
</div>
Expand Down

0 comments on commit c837942

Please sign in to comment.