Sha256: ba2cff4d3623db7b96baa5edeb4766dc5c7ad306257bb619b6539a3cb259ae2f
Contents?: true
Size: 1.84 KB
Versions: 5
Compression:
Stored size: 1.84 KB
Contents
.row .span4 %h3 People %table.table.people-list - @membership_award.people.each do |person| %tr %td.name = person %br = person.email .span8 %h3 Details %table.table =form_for @membership_award do |form| %tr %td Type %td=@membership_award.membership_type.name %tr %td Number of Memberships %td=@membership_award.number_of_memberships %tr %td Price %td=number_as_cents @membership_award.sold_price %tr %td Expires On %td=@membership_award.ends_at %tr %td Send Email %td=@membership_award.send_email ? "Yes" : "No" %tr %td Email Preview %td=link_to "Preview Now", "#email-preview", 'data-toggle' => 'modal' %h3 What Happens Now? %p These people will become members of your organization. -if @membership_award.send_email %p They will get an email to setup an account with your orgnaization if they have not already done so. =link_to "Click here to see a preview of this email", "#email-preview", 'data-toggle' => 'modal' =form_for @membership_award do |form| =form.hidden_field :membership_type, :value => @membership_award.membership_type.id =form.hidden_field :number_of_memberships =form.hidden_field :sold_price =form.hidden_field :ends_at =form.hidden_field :send_email =form.hidden_field :message =form.hidden_field :confirm, :value => true .form-actions =form.submit "Next", :class => 'btn' #email-preview.modal .modal-header .close{'data-dismiss'=>'modal'} x %h3 Email Preview .modal-body =@membership_award.message .modal-footer %button.btn{'data-dismiss'=>'modal'} Close
Version data entries
5 entries across 5 versions & 1 rubygems