= simple_form_for @page, :html => { :class => 'form-horizontal' } do |f| = render 'active_translation/localed_tabs_and_inputs', f: f, attributes: {input: :title} = f.input :enabled = f.input :url_id = f.input :mode, as: :select, collection: Page.modes.map{|m| [ t("activerecord.attributes.page.modes.#{m}") , m.to_sym]}.sort, include_blank: false #path_fields = f.input :path, as: :select, collection: Page.links.keys.map{|l| [t("activerecord.attributes.page.links.#{l}"), l]}.sort, include_blank: false #link_fields = f.input :link #page_fields =render 'active_translation/localed_inputs', f: f, attributes: {cktext_area: :body, input: :description} = f.input :keywords = f.button :submit, :class => 'btn-primary' = link_to t('.cancel', :default => t("helpers.links.cancel")), pages_path, :class => 'btn btn-default'