mplatts
6/2/2014 - 11:05 AM

hb.haml

.dropdown
  .email 
    %i.sprites-common-student
    {{ email }}
    = hb 'if pending' do
      %a.resend-invitation{href: "#"} {{t 'organization.teachers.index.resend_invitation'}}
      %a.pull-right.show-modal{href: "#", data: {template: 'people/remove_invited_teacher_modal', title: "{{t 'organization.teachers.index.remove_teacher' name=email }}"}}
        %i.sprites-common-close

      = hb 'else'
        %a.pull-right.show-modal{href: "#", data: {template: 'people/remove_teacher_modal', name: "{{name}}"}}
          %i.sprites-common-close