Allow translating field description fix #729

This commit is contained in:
Flavio Copes
2016-08-04 16:18:10 +02:00
parent 4a50d2f0e2
commit c837942669
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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>