2019-03-06 16:17:34 +08:00
|
|
|
<div
|
2019-04-30 16:23:44 +08:00
|
|
|
class="inline-editing-container <%= name %>-editable-field"
|
2019-03-06 16:17:34 +08:00
|
|
|
data-field-to-update="<%= field_to_udpate %>"
|
|
|
|
data-params-group="<%= params_group %>"
|
|
|
|
data-path-to-update="<%= path_to_update %>"
|
|
|
|
data-original-name="<%= initial_value %>"
|
|
|
|
error="false"
|
|
|
|
>
|
|
|
|
<input type="text" value="<%= initial_value %>" disabled/>
|
|
|
|
<div class="button-container">
|
|
|
|
<span class="save-button"><i class="fas fa-check"></i></span>
|
|
|
|
<span class="cancel-button"><i class="fas fa-times"></i></span>
|
|
|
|
</div>
|
|
|
|
<span class="error-block"></span>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
initInlineEditing('<%= name %>')
|
|
|
|
</script>
|