Sha256: 24bbe7ec43db64edb0fe0e331f32262ffd1ab83f2d5c443864ade6d1c547f3e9

Contents?: true

Size: 1.22 KB

Versions: 89

Compression:

Stored size: 1.22 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"
    %p
      %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 || '', :class => "textarea large", :style => "width: 100%", :id => "part_#{page_part.name.to_slug}_content"

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
trusty-cms-4.0.2 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.7 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.6 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.5 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-4.0.1 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.4 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.3 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.2 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-4.0.0 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.1 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.9.0 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.8.4 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.8.3 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.8.2 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.8.1 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.8.0 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.7.1 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.7.0 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.6.2 app/views/admin/page_parts/_page_part.html.haml
trusty-cms-3.6.1 app/views/admin/page_parts/_page_part.html.haml