diff --git a/app/views/translations/_form.html.erb b/app/views/translations/_form.html.erb index bb9f013..ec5165d 100644 --- a/app/views/translations/_form.html.erb +++ b/app/views/translations/_form.html.erb @@ -1,25 +1,5 @@ -<%= form_for([@problem, @translation]) do |f| %> - <% if @translation.errors.any? %> -
-

<%= t 'errors.template.header', model: Translation.model_name.human, count: @translation.errors.count %>

- - -
- <% end %> - -
- <%= f.label :title %>
+<%= form_for [@problem, @translation], layout: :basic do |f| %> <%= f.text_field :title %> -
-
- <%= f.label :content %>
<%= f.text_area :content %> -
-
<%= f.submit %> -
<% end %>