Sha256: d66a6f3b44b4edf169cb5a8ed83d88546a6bd2e3861b50fb82519bb0fca356f8

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

= simple_form_for @page, :url => url do |f|
  = f.input :name
  = f.input :content, :as => :ckeditor, :label => false, :input_html => { :toolbar => 'Full' }
  = f.input :active, item_wrapper_class: 'inline'
  = f.input :position
  = f.association :page
  = f.input :meta_title, :input_html => { :style => "width: 50%" }
  = f.input :meta_description, :input_html => { :style => "width: 50%" }
  = f.input :meta_keywords, :input_html => { :style => "width: 50%" }
  = f.button :submit, t("actions.save"), :class => "btn btn-success"

- content_for :head do
  = javascript_include_tag  'ckeditor/ckeditor'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jc_cms-0.0.2 app/views/jc_cms/dashboard/pages/_form.html.haml
jc_cms-0.0.1 app/views/jc_cms/dashboard/pages/_form.html.haml