<%= simple_form_for category, url: get_form_category_url do |f| %> <%= f.error_notification %> <% if f.object.errors.any? %>
<%= t('binda.standard_form_error_heading') %> <%= pluralize(f.object.errors.count, t("binda.standard_form_error")) %>.
<% end %>

<%= "#{ t :details }".capitalize %>

<%= f.input :name, label: "#{t('binda.title')}".capitalize %> <% if f.object.slug.nil? %> <%= f.input :slug, as: :hidden %> <% else %> <%= f.input :slug, disabled: true, hint: "#{ t :slug_disable_hint }" %> <% end %> <%= f.input :description, label: "#{t('description')}".capitalize %>

<%= t(:setting).capitalize.pluralize %>

<%= button_tag "Save changes".html_safe, { class: 'b-btn b-btn-primary b-btn-settings', id: 'save' }%>
<% end %>