2016-02-12 23:52:43 +08:00
|
|
|
<div class="panel panel-default panel-step-attachment">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<span class="glyphicon glyphicon-th"></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 %>
|
|
|
|
<span class="glyphicon glyphicon-remove"></span>
|
|
|
|
<% 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>
|
|
|
|
</div>
|