scinote-web/app/views/steps/_form_tables.html.erb
2017-01-19 16:42:14 +01:00

18 lines
No EOL
772 B
Text

<div class="panel panel-default panel-step-attachment">
<div class="panel-heading">
<span class="glyphicon glyphicon-th"></span>
<%= t("protocols.steps.new.table_panel_title") %>
<div class="pull-right">
<%= ff.remove_nested_fields_link do %>
<span class="glyphicon glyphicon-remove"></span>
<% end %>
</div>
</div>
<div class="panel-body">
<%= 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") %>
<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>
</div>
</div>