Sha256: 200dbe93b5ff5f83756cd74766305ee21e57f416442614fc9eb1c2a808e1332d
Contents?: true
Size: 1.48 KB
Versions: 24
Compression:
Stored size: 1.48 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{:for => "part_#{page_part.name.to_slug}_filter_id"} = t('filter') = select_tag "page[parts_attributes][#{page_part_counter}][filter_id]", filter_options_for_select(page_part.filter_id), :id => "part_#{page_part.name.to_slug}_filter_id" %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_function t('available_tags'), "loadTagReference('#{page_part.name.to_slug}');" = render_region :part_controls, :locals => {:page_part => page_part} %div ~ text_area_tag "page[parts_attributes][#{page_part_counter}][content]", page_part.content, :class => "textarea large", :style => "width: 100%", :id => "part_#{page_part.name.to_slug}_content"
Version data entries
24 entries across 24 versions & 5 rubygems