Sha256: 60197ddc39d904d05a6d2d70ab7069b1842ebf0aeb9115339c778ef37aeca649
Contents?: true
Size: 924 Bytes
Versions: 3
Compression:
Stored size: 924 Bytes
Contents
-with_kit (:membership) do -if person.email.blank? %p= link_to "Comp Membership", "#comp-membership", 'data-toggle' => 'modal' #comp-membership.modal .modal-header .close{'data-dismiss'=>'modal'} x %h3 Comp Membership .modal-body Sorry! We can't comp memberships to patrons who don't have an email. .modal-footer = button_tag "Close", :class => "btn", 'data-dismiss' => 'modal' -elsif person.company? %p= link_to "Comp Membership", "#comp-membership", 'data-toggle' => 'modal' #comp-membership.modal .modal-header .close{'data-dismiss'=>'modal'} x %h3 Comp Membership .modal-body Sorry! We can't comp memberships to companies or institutions. .modal-footer = button_tag "Close", :class => "btn", 'data-dismiss' => 'modal' -else %p= link_to "Comp Membership", new_person_membership_comp_path(person)
Version data entries
3 entries across 3 versions & 1 rubygems