Sha256: c87ef0f0d9c0bc21bef6873f88a97a138050c723b39eff07fcd3a0c176db3bd3

Contents?: true

Size: 930 Bytes

Versions: 11

Compression:

Stored size: 930 Bytes

Contents

- in_section :events
- content_for :header do
  =render :partial=>'events/header'

.row
  .span3
    - in_sub_section :details
    =render :partial=>'menu'
  .span9
    = render "shared/error_messages", :target => @event
    .row-fluid
      .span2
        %h3 Discounts
      .span10
        =icon_link_to("Add", temp_discount_path(@event), 'fa-plus-circle', 'btn', '')
    %table.table
      %thead
        %th Code
        %th Status
        %th Discount (average)
        %th Redeemed
      %tbody
        %tr
          %td= link_to 'COWBELL', temp_discount_path(@event)
          %td active
          %td 50%
          %td= rand(10)
        %tr
          %td= link_to 'GETRDONE', temp_discount_path(@event)
          %td active
          %td 25%
          %td= rand(10)
        %tr
          %td= link_to 'STUDENTS', temp_discount_path(@event)
          %td active
          %td 75%
          %td= rand(10)
                  

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.3.0.pre3 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.3.0.pre2 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.3.0.pre1 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0.beta.1 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0.alpha.2 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0.alpha.1 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0.pre.27 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0.pre.26 app/views/events/temp_discounts_index.html.haml
artfully_ose-1.2.0.pre.24 app/views/events/temp_discounts_index.html.haml