Sha256: 173c407f324f002323b1ce00f6e8f303d034d1f29a2867d5c16840adb9297caa

Contents?: true

Size: 873 Bytes

Versions: 7

Compression:

Stored size: 873 Bytes

Contents

- content_for :header do
  %h1= "Membership Types"

.row.bottom-room
  .pull-right
    =icon_link_to("New Membership Type", new_membership_type_path, 'icon-plus', 'btn','')
    =link_to "Download CSV", "", :class => "btn"

%table.table
  %tr
    %th.right Name
    %th.right Plan
    %th.right Members
    %th.right Price
    %th.right Fee
    %th.right Shows
    %th.right On Sale
  -@membership_types.each do |membership_type|
    %tr
      %td.right=link_to membership_type.name, edit_membership_type_path(membership_type)
      %td.right=membership_type.plan
      %td.right=link_to membership_type.members.count, segment_path(membership_type.segment)
      %td.right=number_as_cents membership_type.price
      %td.right=number_as_cents membership_type.fee
      %td.right=membership_type.number_of_shows
      %td.right
        =check_mark if membership_type.on_sale?

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.6 app/views/membership_types/index.html.haml
artfully_ose-1.2.0.pre.5 app/views/membership_types/index.html.haml
artfully_ose-1.2.0.pre.4 app/views/membership_types/index.html.haml
artfully_ose-1.2.0.pre.3 app/views/membership_types/index.html.haml
artfully_ose-1.2.0.pre.2 app/views/membership_types/index.html.haml
artfully_ose-1.2.0.pre.1 app/views/membership_types/index.html.haml
artfully_ose-1.2.0.pre app/views/membership_types/index.html.haml