<%= simple_form_for([:backend, page], html: { autocomplete: "false" }) do |f| %> <%= f.error_notification %>
<%= f.input :title %> <%= f.input :slug %> <%= f.input :homepage %> <%= f.association :parent, prompt: :translate %> <%= f.association :template, prompt: :translate %> <%= f.input :content, as: :wysiwyg %> <%= f.input :published_at, as: :date_time_picker %>

<%= Archangel.t(:metatags) %>

<%= f.simple_fields_for :metatags do |metatag| %> <%= render "metatag_fields", f: metatag %> <% end %>
<%= f.button :submit %>
<% end %>