Sha256: 1b16b0fe00f97802fa6cb976947037a367145f13784b9a7c508a1851151f4381

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

- in_section :people
- content_for :title do
  #{@person}

=render "people/header"

.row
  .span12
    .row-fluid
      .span6
        %ul.in-table
          %li.dropdown{:id => "#menu#bulkactions"}
            =icon_link_to('Work with...', "#menu#bulkactions", 'icon-asterisk', 'dropdown-toggle dropdown btn', '')
      .span6.right
        = icon_link_to("View Record", person_path(@person), 'icon-share-alt', 'btn', '')
        = link_to "Resend Pass", "#resend-pass-modal", 'data-toggle' => 'modal', :class => 'btn'

    %table.table
      %thead
        %tr
          %th Pass Type
          %th.right Purchase Date
          %th.right Tickets Allowed
          %th.right Tickets Purchased
      - @passes.each do |pass|
        %tr
          %td=pass.pass_type.name
          %td.right=l pass.created_at, :format => :slashed_date
          %td.right=pass.tickets_allowed
          %td.right=pass.tickets_purchased

    #resend-pass-modal.modal
      .modal-header
        .close{'data-dismiss'=>'modal'} x
        %h3 Resend Passes
      .modal-body
        %p="This passholder will receive an email with all of their current passcodes."  
      .modal-footer
        =link_to "Resend Passes", reset_password_person_path(@person), :class => "btn btn-primary", 'data-dismiss'=>'modal', :method => :post
        =link_to "Cancel", "#", :class => "btn", 'data-dismiss'=>'modal'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.23 app/views/passes/index.html.haml