Sha256: 3889d085006a8a30436d6ee8022dc310a563e3ef72be1064db211babd504aeb3

Contents?: true

Size: 886 Bytes

Versions: 2

Compression:

Stored size: 886 Bytes

Contents

<% content_for :header do -%>
  <h2>Permissions for <span><%= @membership.name %></span> on <%= current_account.name %></h2>
<% end -%>

<div class="actions">
  <%= link_to [current_account, @membership], :method  => :delete, :confirm => "Are you sure?" do %>
    <span class="delete_item">Remove <%= @membership.user.name %> from <%= current_account.name %></span>
  <% end -%>
</div>

<%= render :partial => 'accounts/subnav' %>

<%= semantic_form_for [current_account, @membership] do |form| -%>
  <%= form.inputs do -%>
    <%= form.input :admin, :label => "#{@membership.user.name} is an Admin on #{current_account.name}" %>
    <%= form.input :projects, :as => :check_boxes, :collection => @projects, :label => "#{@membership.user.name} belongs to these projects:" %>
  <% end -%>
  <%= form.buttons do -%>
    <%= form.commit_button "Update" %>          
  <% end -%>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
saucy-0.16.1 app/views/memberships/edit.html.erb
saucy-0.16.0 app/views/memberships/edit.html.erb