<% if @draft_conf.draft? && @object.is_draft? %>
<%=I18n.t('admin.form.draft_header')%>
<% end %> <%= rails_admin_form_for @object, url: edit_path(@abstract_model, @object.id), as: @abstract_model.param_key, html: { method: "put", multipart: true, class: "main", data: { title: @page_name } } do |form| %> <%= form.generate action: :update %> <% end %>