- @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 }