adapt error messages to core change

pull/6827/head
Christian Ratz 11 years ago
parent e51ad36406
commit 349a938167
  1. 2
      app/views/export_card_configurations/_form.html.erb
  2. 2
      app/views/export_card_configurations/edit.html.erb
  3. 3
      app/views/export_card_configurations/new.html.erb

@ -24,9 +24,7 @@ See doc/COPYRIGHT.md for more details.
++#%>
<div class="box tabular">
<p><%= f.error_messages %></p>
<!--[form:export_card_configuration]-->
<p><%= f.text_field :name, :required => true %></p>
<p><%= f.text_area :description, :class => "wiki-edit" %></p>

@ -26,6 +26,8 @@ See doc/COPYRIGHT.md for more details.
<% html_title l(:label_administration), "#{l(:label_edit)} #{l(:label_export_card_configuration)} #{@config.name}" %>
<%= error_messages_for 'config' %>
<h2><%= link_to t(:label_export_card_configuration_plural), pdf_export_export_card_configurations_path %> &#187; <%= h(@config.name) %></h2>
<%= form_for @config, :method => :put, url: pdf_export_export_card_configuration_path(@config.id), :builder => TabularFormBuilder do |f| %>

@ -24,9 +24,10 @@ See doc/COPYRIGHT.md for more details.
++#%>
<% html_title l(:label_administration), l(:label_export_card_configuration_new) %>
<%= error_messages_for 'config' %>
<h2><%= link_to t(:label_export_card_configuration_plural), pdf_export_export_card_configurations_path %> &#187; <%= t(:label_export_card_configuration_new) %></h2>
<%= form_for @config, :method => :post, url: pdf_export_export_card_configurations_path, :builder => TabularFormBuilder do |f| %>

Loading…
Cancel
Save