Sha256: 711acadb8e35fae0cdbae84a685e8bb98ba396c497d75ffff182eaa27ddd325e
Contents?: true
Size: 1.28 KB
Versions: 5
Compression:
Stored size: 1.28 KB
Contents
.row-fluid %h2.span2 Users .span10 - if can? :manage, current_user.current_organization = link_to "Add", "#userForm", 'data-toggle' => 'modal', :class => 'btn' %ul#memberships.detailed-list.row-fluid - organization.users.each do |user| %li.span5.row-fluid .span3 = 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
5 entries across 5 versions & 1 rubygems