Sha256: 3cc9e31af9e9291833f697a1ccb44ef147ada54011308b1c8859195abd14150e

Contents?: true

Size: 861 Bytes

Versions: 2

Compression:

Stored size: 861 Bytes

Contents

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

.row
  .span3
    - in_sub_section :share
    =render :partial=>'menu'
  .span9

    %h1 Sell through a reseller

    %table.table#reseller-profile-datatable
      %thead
        %tr
          %th Name
          %th Description
          %th Fee
          %th  

      %tbody
        - @reseller_profiles.each do |profile|
          %tr
            %td
              - if profile.url.present?
                = link_to profile.organization.name, profile.url, :target => "_blank"
              - else
                = profile.organization.name
            %td= profile.description
            %td= number_to_currency(profile.fee / 100.0)
            %td= button_to "Offer Tickets", new_ticket_offer_path(:reseller_profile_id => profile.id, :event_id => @event.id), :class => :btn

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/events/resell.html.haml
artfully_ose-1.0.0.rc3 app/views/events/resell.html.haml