Sha256: 3a317243bc55a36e91f8c127602e2e1e51883498ac123c83429758132933e361

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

- content_for :right_column do
  = render 'comfy/admin/cms/files/index'

= render :partial => 'comfy/admin/cms/partials/snippet_form_before', :object => form

= form.text_field :label, :data => {:slugify => @snippet.new_record?}
= form.text_field :identifier, :data => {:slug => true}
= form.text_area :content, :data => {'cms-rich-text' => true}

= render :partial => 'comfy/admin/cms/categories/form', :object => form

= render :partial => 'comfy/admin/cms/partials/snippet_form_after', :object => form

= form.form_group :class => 'form-actions' do
  = form.submit t(@snippet.new_record?? '.create' : '.update'), :class => 'btn btn-primary'
  = link_to t('.cancel'), comfy_admin_cms_site_snippets_path, :class => 'btn btn-link'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.12.2 app/views/comfy/admin/cms/snippets/_form.html.haml