Initial commit
This commit is contained in:
32
client/res/templates/fields/array/edit.tpl
Normal file
32
client/res/templates/fields/array/edit.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<div
|
||||
class="link-container list-group{{#if keepItems}} no-input{{/if}}"
|
||||
>{{#each itemHtmlList}}{{{./this}}}{{/each}}</div>
|
||||
<div class="array-control-container">
|
||||
{{#if hasAdd}}
|
||||
<button
|
||||
class="btn btn-default btn-block"
|
||||
type="button"
|
||||
data-action="showAddModal"
|
||||
>{{translate 'Add'}}</button>
|
||||
{{/if}}
|
||||
{{#if allowCustomOptions}}
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="main-element form-control select"
|
||||
type="text"
|
||||
autocomplete="espo-{{name}}"
|
||||
placeholder="{{#if this.options}}{{translate 'Select'}}{{else}}{{translate 'typeAndPressEnter' category='messages'}}{{/if}}"
|
||||
{{#if maxItemLength}} maxlength="{{maxItemLength}}"{{/if}}
|
||||
>
|
||||
<span class="input-group-btn">
|
||||
<button
|
||||
data-action="addItem"
|
||||
class="btn btn-default btn-icon"
|
||||
type="button"
|
||||
tabindex="-1"
|
||||
title="{{translate 'Add Item'}}"
|
||||
><span class="fas fa-plus"></span></button>
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user