diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-01-11 20:08:46 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-01-11 20:08:46 +0300 |
commit | 16459bf343b5e4b985b61c69063bedfe41605fa8 (patch) | |
tree | 2d4dacb5bea2538085bce72496b425eb083b6ea4 /templates | |
parent | bcb67cb15fd99ebab9ea7ebf88b0f04934d60478 (diff) |
Use template for getHtmlForExportOptionsOutputCharset
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/display/export/options_output_charset.twig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/display/export/options_output_charset.twig b/templates/display/export/options_output_charset.twig new file mode 100644 index 0000000000..bd316bf916 --- /dev/null +++ b/templates/display/export/options_output_charset.twig @@ -0,0 +1,16 @@ +<li> + <label for="select_charset" class="desc"> + {% trans 'Character set of the file:' %} + </label> + <select id="select_charset" name="charset" size="1"> + {% for charset in encodings %} + <option value="{{ charset }}" + {%- if (export_charset is empty and charset == 'utf-8') + or charset == export_charset %} + selected + {%- endif %}> + {{- charset -}} + </option> + {% endfor %} + </select> +</li> |