Sha256: ac64bb8898ad026b87c04905e20387cec541c7b344e25b40c0e9023c7a6844af
Contents?: true
Size: 1.38 KB
Versions: 33
Compression:
Stored size: 1.38 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 => "filter_reference_link_#{page_part.name.to_slug}"} = link_to_function t('filter'), "loadFilterReference('#{page_part.name.to_slug}');" %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
33 entries across 33 versions & 1 rubygems