Sha256: 10a2ba206800e74d3f517ecdbe4056a35a0cc6aa19a6e7060e6402e498722d50

Contents?: true

Size: 584 Bytes

Versions: 5

Compression:

Stored size: 584 Bytes

Contents

%h2 Offer Pages

%table
  - @offerpages.each do |offerpage|
    %tr
      %td.three.columns= link_to offerpage.title, offerpage
      %td.two.columns= link_to 'Edit', edit_offerpage_path(offerpage)
      %td.two.columns= link_to 'Publish', publish_offerpage_path(offerpage)
      %td.two.columns= link_to 'Remove', offerpage, :confirm => 'Are you sure?', :method => :delete
      %td.two.columns
        - if offerpage.published
          = link_to "#{@url_path + offerpage.filename}.html", "#{@url_path + offerpage.filename}.html"

%br

= link_to 'New Offerpage', new_offerpage_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
website_builder_engine-0.0.5 app/views/website_builder_engine/offerpages/index.html.haml
website_builder_engine-0.0.4 app/views/website_builder_engine/offerpages/index.html.haml
website_builder_engine-0.0.3 app/views/website_builder_engine/offerpages/index.html.haml
website_builder_engine-0.0.2 app/views/website_builder_engine/offerpages/index.html.haml
website_builder_engine-0.0.1 app/views/website_builder_engine/offerpages/index.html.haml