small fixes

This commit is contained in:
Mojca Lorber 2017-01-19 16:42:14 +01:00
parent f656a1093d
commit 6653f0d4c1
4 changed files with 3 additions and 4 deletions

View file

@ -347,7 +347,7 @@ ul {
}
}
/* Result table element style */
// Result table element style
.report-result-table-element {
.report-element-body {
padding-top: 30px;

View file

@ -9,7 +9,7 @@
</div>
</div>
<div class="panel-body">
<%= ff.text_area :name, label: t("protocols.steps.new.table_name"), class: "table_name", autofocus: true, placeholder: t("protocols.steps.new.table_name_placeholder") %>
<%= 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>

View file

@ -379,7 +379,6 @@ en:
step_pos: "Step %{pos}:"
no_description: "No description"
step_table:
sidebar_name: "Table" # TODO
table_name: "[ %{name} ]"
user_time: "Table created on %{timestamp}."
step_asset:

View file

@ -1,5 +1,5 @@
class AddNameToTables < ActiveRecord::Migration
def change
add_column :tables, :name, :string, default: ''
add_column :tables, :name, :string, default: '', index: true
end
end