Sha256: fc628be63a96d3fbbc08ccd2dc3e65e25610d897077dc837c8397d1ad945e4d5

Contents?: true

Size: 1.18 KB

Versions: 93

Compression:

Stored size: 1.18 KB

Contents

.page{:id => "page_#{page_part.name.to_slug}", 'data-caption'=>h(page_part.name)}
  .part{:id => "part-#{page_part.name.to_slug}"}
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][name]", page_part.name, :id => "part_#{page_part.name.to_slug}_name"
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][id]", page_part.id, :id => "part_#{page_part_counter}_id", :class => 'id_input' unless page_part.new_record?
    = hidden_field_tag "page[parts_attributes][#{page_part_counter}][_destroy]", page_part._destroy, :class => 'delete_input'
    .content
      %label To use HTML or Radius tags, switch to plain text view by clicking the 'Source' button.
      %span.reference_links
        = t('reference')
        %span{:id => "tag_reference_link_#{page_part.name.to_slug}"}
          = link_to t('available_tags'), admin_reference_url(:tags), id: 'tag_reference'
      = render_region :part_controls, :locals => {:page_part => page_part}
    %div
      = cktext_area :page_part, page_part.content || '', :name => "page[parts_attributes][#{page_part_counter}][content]", :value => page_part.content || '', :style => 'width: 100%', :id => "part_#{page_part.name.to_slug}_content"

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
trusty-cms-7.0.22 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.21 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.20 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.19 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.18 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.17 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.16 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.14 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.13 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.12 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.15 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.9.1 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.11 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.10 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.9 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.8 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.7 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.6 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.5 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-7.0.4 app/views/admin/page_parts/_page_part.html.haml