2016-02-12 23:52:43 +08:00
|
|
|
<div class="panel panel-default panel-step-attachment">
|
|
|
|
<div class="panel-heading">
|
2018-05-22 22:55:58 +08:00
|
|
|
<span class="fas fa-table"></span>
|
2016-07-21 19:11:15 +08:00
|
|
|
<%= t("protocols.steps.new.table_panel_title") %>
|
2016-02-12 23:52:43 +08:00
|
|
|
<div class="pull-right">
|
|
|
|
<%= ff.remove_nested_fields_link do %>
|
2018-07-09 19:13:44 +08:00
|
|
|
<span class="fas fa-times"></span>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-17 00:11:08 +08:00
|
|
|
<div class="panel-body">
|
2017-01-19 23:42:14 +08:00
|
|
|
<%= ff.smart_text_area :name, label: t("protocols.steps.new.table_name"), class: "table_name", autofocus: true, placeholder: t("protocols.steps.new.table_name_placeholder") %>
|
2017-01-17 00:11:08 +08:00
|
|
|
<div data-role="editable-table" class="panel-body">
|
|
|
|
<%= ff.hidden_field(:contents, value: ff.object.contents_utf_8, class: "hot-contents" ) %>
|
|
|
|
<div class="hot"></div>
|
|
|
|
</div>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
2018-05-22 22:55:58 +08:00
|
|
|
</div>
|