Skip to content

Instantly share code, notes, and snippets.

@mplatts
Created June 2, 2014 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mplatts/21a03b1607aed15ccb8b to your computer and use it in GitHub Desktop.
Save mplatts/21a03b1607aed15ccb8b to your computer and use it in GitHub Desktop.
.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment