mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
20 lines
942 B
Text
20 lines
942 B
Text
<div
|
|
class="inline-editing-container inline-init-handler"
|
|
data-field-to-update="<%= config[:field_to_udpate] %>"
|
|
data-params-group="<%= config[:params_group] %>"
|
|
data-item-id="<%= config[:item_id] %>"
|
|
data-path-to-update="<%= config[:path_to_update] %>"
|
|
data-original-name="<%= initial_value %>"
|
|
data-label-after='<%= config[:label_after] %>'
|
|
data-placeholder='<%= config[:placeholder] %>'
|
|
>
|
|
<div class="view-mode" data-placeholder="<%= config[:placeholder] %>" tabindex=0>
|
|
<span title="<%= initial_value %>"><%= initial_value %></span>
|
|
</div>
|
|
<input placeholder="<%= config[:placeholder] %>" class="hidden input-field" type="text" value="<%= initial_value %>" disabled/>
|
|
<div class="button-container hidden">
|
|
<span class="save-button"><i class="sn-icon sn-icon-check"></i></span>
|
|
<span class="cancel-button"><i class="sn-icon sn-icon-close"></i></span>
|
|
</div>
|
|
<span class="error-block"></span>
|
|
</div>
|