2019-05-20 19:13:31 +08:00
|
|
|
<div
|
2019-11-12 18:26:18 +08:00
|
|
|
class="inline-editing-container inline-init-handler"
|
2019-11-03 21:59:30 +08:00
|
|
|
data-field-to-update="<%= config[:field_to_udpate] %>"
|
|
|
|
data-params-group="<%= config[:params_group] %>"
|
2020-01-06 23:07:23 +08:00
|
|
|
data-item-id="<%= config[:item_id] %>"
|
2019-11-03 21:59:30 +08:00
|
|
|
data-path-to-update="<%= config[:path_to_update] %>"
|
2019-03-06 16:17:34 +08:00
|
|
|
data-original-name="<%= initial_value %>"
|
2023-03-14 01:00:30 +08:00
|
|
|
data-label-after='<%= config[:label_after] %>'
|
2019-11-15 23:23:48 +08:00
|
|
|
data-placeholder='<%= config[:placeholder] %>'
|
2019-03-06 16:17:34 +08:00
|
|
|
>
|
2023-01-17 20:40:30 +08:00
|
|
|
<div class="view-mode" data-placeholder="<%= config[:placeholder] %>" tabindex=0><%= initial_value %></div>
|
2023-09-19 19:13:52 +08:00
|
|
|
<input placeholder="<%= config[:placeholder] %>" class="hidden input-field" type="text" value="<%= initial_value %>" disabled/>
|
2023-09-07 07:56:42 +08:00
|
|
|
<div class="button-container hidden">
|
2023-06-15 21:12:51 +08:00
|
|
|
<span class="save-button"><i class="sn-icon sn-icon-check"></i></span>
|
2023-06-08 23:33:50 +08:00
|
|
|
<span class="cancel-button"><i class="sn-icon sn-icon-close"></i></span>
|
2019-03-06 16:17:34 +08:00
|
|
|
</div>
|
|
|
|
<span class="error-block"></span>
|
2020-01-06 23:07:23 +08:00
|
|
|
</div>
|