updates on array element deleting
This commit is contained in:
1 parent
963708855c
commit
a5254560f5
5 files changed
+25
-7
No files matched your search
@@ -15,5 +15,7 @@
|
||||
</span>
|
||||
</label>
|
||||
{{ end }}
|
||||
<input name="{{ $value.Name }}:{{ $value.Type }}" id="{{ $value.Name }}" value="{{ $value.Content }}"></input>
|
||||
{{ end }} {{ end }} {{ end }}
|
||||
{{ if eq $value.Parent.Type "array" }}<div id="{{ $value.Name }}-{{ $key }}" data-type="array-item">{{ end }}
|
||||
<input name="{{ $value.Name }}:{{ $value.Type }}" id="{{ $value.Name }}" value="{{ $value.Content }}" data-parent-type="{{ $value.Parent.Type }}"></input>
|
||||
{{ if eq $value.Parent.Type "array" }}
|
||||
<div class="actions"><button class="delete"><i class="fa fa-minus"></i></button></div></div>{{ end }} {{ end }} {{ end }} {{ end }}
|
||||
Reference in new issue
Block a user