Created
September 30, 2016 21:38
-
-
Save btn0s/c9ce536c83819db546471b560104f3b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set value = (value is null ? field.default : value) %} | |
{% if exists %} | |
<div class="form-field grid vertical"> | |
<div class="form-label"> | |
<label>{{ field.label|tu }}</label> | |
</div> | |
<div class="form-data form-uploads-wrapper"> | |
<div id="grav-dropzone" class="dropzone"></div> | |
<span>{{ value|join("\n") }}</span> | |
</div> | |
</div> | |
{% else %} | |
<div class="form-tab"> | |
<div class="form-field"> | |
<div class="form-label"> | |
<span class="note"> | |
{{ "PLUGIN_ADMIN.CANNOT_ADD_MEDIA_FILES_PAGE_NOT_SAVED"|tu }} | |
</span> | |
</div> | |
</div> | |
</div> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment