app/views/admin/education/programs/parts/certification_edit.html.erb
<% content_for :title, @l10n %>
<%= simple_form_for [:admin, @program] do |f| %>
<%= f.simple_fields_for :localizations, @l10n do |lf| %>
<%= f.error_notification %>
<%= f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? %>
<%= lf.hidden_field :language_id, value: current_language.id %>
<%= f.hidden_field :part, value: 'certification' %>
<div class="row">
<div class="col-lg-4">
<%= f.input :qualiopi_certified %>
</div>
<div class="col-lg-8">
<%= lf.input :qualiopi_text,
as: :summernote,
input_html: {
data: { 'summernote-config' => 'link' }
} %>
</div>
</div>
<% content_for :action_bar_right do %>
<%= submit f %>
<% end %>
<% end %>
<% end %>