Sha256: 332b84f0f3a42f4cf8091e483ce99a9927d334c9da1716b3dcfd7014cac1ba94
Contents?: true
Size: 1.38 KB
Versions: 13
Compression:
Stored size: 1.38 KB
Contents
.row .span3 %h3{:style => "margin-top: 0px"} Users - if can? :manage, current_user.current_organization = link_to "Invite User", "#userForm", 'data-toggle' => 'modal', :class => 'btn' .span9 %ul#memberships.detailed-list.row-fluid - organization.users.each do |user| %li.row-fluid .span2 = gravatar_image_tag(user.email, :alt => 'User icon', :class => 'user-grav bordered', :gravatar => { :size => 48 }) .span9 .email= truncate(user.email) .remove - if user == current_user.current_organization.owner Organization Administrator - elsif can? :manage, current_user.current_organization = link_to "Remove", organization_user_membership_path(@organization, user.membership_in(organization)), :method => :delete #userForm.modal = form_tag organization_user_memberships_path(@organization.id), :action => "create" do .modal-header .close{'data-dismiss'=>'modal'} x %h3 Add A User To Your Organization .modal-body %p Enter the user's email address below. The user will receive an email with a link to join Artful.ly and set his or her password. = text_field_tag :user_email, "", :placeholder => "Enter an email address..." .modal-footer = submit_tag "Add", :class => 'btn'
Version data entries
13 entries across 13 versions & 1 rubygems