<%= form_for([@simulator, @section], html: {role: 'form'}, builder: CitizenBudgetModel::CitizenBudgetFormBuilder) do |f| %> <%= f.errors %> <%= f.translated_text_field :title %> <%= f.translated_text_area :description %> <%= f.translated_text_area :popover %> <%= f.translated_text_area :modal %> <%= f.text_field :html_class %> <% f.buttons(context: [@simulator, @section]) %> <% end %>