diff --git a/app/views/export_card_configurations/_form.html.erb b/app/views/export_card_configurations/_form.html.erb index ae651a4333..5898ef1233 100644 --- a/app/views/export_card_configurations/_form.html.erb +++ b/app/views/export_card_configurations/_form.html.erb @@ -33,7 +33,9 @@ See doc/COPYRIGHT.md for more details.

<%= f.text_field :per_page, :required => true %>

<%= f.text_field :page_size, :required => true, :value => "A4", :readonly => true %>

<%= f.select :orientation, [:landscape, :portrait], :required => true %>

-

<%= f.text_area :rows, :required => true, :class => "wiki-edit" %>

+ +<% field = (f.text_area :rows, :required => true, :class => "wiki-edit") %> +<%= render partial: "rows_format_help", locals: { field: field } %> diff --git a/app/views/export_card_configurations/_rows_format_help.html.erb b/app/views/export_card_configurations/_rows_format_help.html.erb new file mode 100644 index 0000000000..15515f34b2 --- /dev/null +++ b/app/views/export_card_configurations/_rows_format_help.html.erb @@ -0,0 +1,8 @@ +

+ + + <%= l('help_link_rows_format') %> + + + <%= field %> +

diff --git a/config/locales/de.yml b/config/locales/de.yml index 08aece9f90..8c6a51d465 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -38,3 +38,4 @@ de: notice_export_card_configuration_deactivated: "Export-Kartenkonfiguration erfolgreich de-aktiviert" error_can_not_activate_export_card_configuration: "Diese Konfiguration kann nicht aktiviert werden" error_can_not_deactivate_export_card_configuration: "Diese Konfiguration kann nicht de-aktiviert werden" + help_link_rows_format: "Rows formatieren" \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index ec5a8998df..7bd6ed5399 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -38,3 +38,4 @@ en: notice_export_card_configuration_deactivated: "Config succesfully de-activated" error_can_not_activate_export_card_configuration: "This config cannot be activated" error_can_not_deactivate_export_card_configuration: "This config cannot be de-activated" + help_link_rows_format: "Rows Formatting" \ No newline at end of file