%# content_for :javascript_includes do %> <%#= javascript_include_tag "/assets/ckeditor/ckeditor" %> <%# end %> <%= simple_form_for [:admin, @category], wrapper: :horizontal_form, wrapper_mappings: { check_boxes: :horizontal_collection } do |f| %> <%= f.error_notification %> <%= f.input :name %> <%= f.input :page, :as => :hidden, :input_html => { :value => params[:page] || 1 } %>