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