Skip to content

Commit

Permalink
support for country in appier extras (as a meta field)
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 23, 2015
1 parent 6b2ed85 commit 5aa5853
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/appier_extras/parts/admin/templates/admin/macros.html.tpl
Expand Up @@ -129,6 +129,12 @@
{% endfor %}
</ul>
</div>
{% elif meta == "country" %}
<div class="drop-field drop-field-select {{ disabled_s|safe }}" data-error="{{ error }}"
data-number_options="-1">
<input name="{{ name }}" type="hidden" class="hidden-field" value="{{ value }}" />
<div class="data-source" data-type="isocountries" data-iso="iso2"></div>
</div>
{% elif meta == "file" %}
<input type="file" class="file-field {{ disabled_s|safe }}" name="{{ name }}"
data-error="{{ error }}" />
Expand Down

0 comments on commit 5aa5853

Please sign in to comment.