summaryrefslogtreecommitdiff
path: root/themes/okadmin/templates/partials/inputs.liquid
diff options
context:
space:
mode:
Diffstat (limited to 'themes/okadmin/templates/partials/inputs.liquid')
-rw-r--r--themes/okadmin/templates/partials/inputs.liquid6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid
index 41cb3df..9710b8f 100644
--- a/themes/okadmin/templates/partials/inputs.liquid
+++ b/themes/okadmin/templates/partials/inputs.liquid
@@ -43,15 +43,15 @@
<ol>
{% for image in spec.value %}
<li class="image-element">
- <input type="hidden" name="{{name}}[][uri]" value="{{image.uri}}">
- <textarea class="caption" name="{{name}}[][caption]">{{image.caption}}</textarea>
+ <input type="hidden" name="{{name}}[uri]" value="{{image.uri}}">
+ <textarea class="caption" name="{{name}}[caption]">{{image.caption}}</textarea>
<img src="{{image.uri}}" alt="{{image.caption}}">
<button class="remove-image">♲</button>
</li>
{% endfor %}
</ol>
<div class="add-image-button">
- <input id="file" type="file" accept="image/*">
+ <input id="file" type="file" accept="image/*" multiple>
<span>+ Add images</span>
</div>
<script type="text/html" id="captioned-image-template">