diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-03-30 15:07:54 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-03-30 15:07:54 -0400 |
| commit | d70037e31737713eb8c50013723a9f85c0fb00e5 (patch) | |
| tree | 32680c72842815c9011bb39d2f7bbc91ea4bfa54 /themes/okadmin/templates/partials | |
| parent | 3062f3541d2579a5c313286e6d5cc1400e1c6500 (diff) | |
cmd-s to save
Diffstat (limited to 'themes/okadmin/templates/partials')
| -rw-r--r-- | themes/okadmin/templates/partials/inputs.liquid | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index ba4459c..fa03e48 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -214,8 +214,8 @@ {% else %} <li class="image-element"> <label>Caption</label> - <input type="hidden" name="{{name}}[{{forloop.index0}}][uri]" value="{{image.uri}}"> - <textarea class="caption" name="{{name}}[{{forloop.index0}}][caption]">{{image.caption}}</textarea> + <input type="hidden" name="{{name}}[][uri]" value="{{image.uri}}"> + <textarea class="caption" name="{{name}}[][caption]">{{image.caption}}</textarea> <input type="hidden" name="{{name}}[][type]" value="image"> <img src="{{image.uri}}" alt="{{image.caption | strip_html}}"> <button class="remove">x</button> |
