-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtemplate.php
More file actions
20 lines (17 loc) · 739 Bytes
/
Copy pathtemplate.php
File metadata and controls
20 lines (17 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="list-field" data-field="list" data-sortable="true">
<script class="list-item-template" type="text/x-handlebars-template">
<div class="list-item">
<?php echo $field->inputField(''); ?>
<div class="field-icon sortable-handle"><i class="icon fa fa-arrows"></i></div>
</div>
</script>
<div class="list">
<?php foreach ($field->value() as $listItemValue): ?>
<div class="list-item">
<?php echo $field->inputField($listItemValue); ?>
<div class="field-icon sortable-handle"><i class="icon fa fa-arrows"></i></div>
</div>
<?php endforeach ?>
</div>
<input class="input add-input" type="text" placeholder="<?php echo $field->i18n($field->placeholder())?>">
</div>