Sha256: 48da2017a46f20b65880404ce12bc5706e76d814eeb7a35a24a42039d9cc0b61

Contents?: true

Size: 1.44 KB

Versions: 6

Compression:

Stored size: 1.44 KB

Contents

- @person = current_member.person
.row  
  .span6.offset3
    #member-details.side-section
      %h6=member_welcome
      %table.table.table-condensed
        %tr
          %td Member Number
          %td=current_member.member_number
        %tr
          %td Member Since
          %td TODO
        %tr
          %td Member Through
          %td=l current_member.active_memberships.first.ends_at, :format => :date
        %tr
          %td Membership
          %td=current_member.active_memberships.first.membership_type.name
        %tr
          %td Memberhsips
          %td=current_member.active_memberships.length
        %tr
          %td Auto-renewal
          %td 
            On
            =link_to "change", "", :class => "btn btn-small"
    .side-section
      %h6 Member Information
      =current_member.person
      %br
      =current_member.email
      %br
      %br
      #member-address
        =render :partial => 'addresses/address', :locals => { :address => current_member.person.address }
        .controls
          =link_to "Update", "#edit-address-modal", :class => "btn", 'data-toggle' => 'modal'

    .side-section
      %h6 Contact Us
      %br
      =current_member.organization.email
      %br
      -# =current_member.organization.phone

#edit-address-modal.modal.hide
  =render :partial => 'people/edit_modal', :locals => { :header => "Edit Your Information", :except => [:convert, :social, :merge, :delete], :return_to => members_root_path } 

Version data entries

6 entries across 6 versions & 1 rubygems

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