Sha256: e29ffc53ff5ec1a48227b00fcd331c87b6f78341454959c964c5256c22830d2c
Contents?: true
Size: 1.18 KB
Versions: 2
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' %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 || '', :style => 'width: 100%', :id => "part_#{page_part.name.to_slug}_content"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trusty-cms-4.1.1 | app/views/admin/page_parts/_page_part.html.haml |
trusty-cms-4.1.0 | app/views/admin/page_parts/_page_part.html.haml |