Sha256: 3f568606c98424c0828ffa27218d700e59ead8f832292ecee5d944588cdc8c2c

Contents?: true

Size: 849 Bytes

Versions: 49

Compression:

Stored size: 849 Bytes

Contents

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

<div class="actions">
  <%= link_to @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/tab_bar' %>

<%= semantic_form_for @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

49 entries across 49 versions & 1 rubygems

Version Path
saucy-0.2.28.1 app/views/memberships/edit.html.erb
saucy-0.2.45 app/views/memberships/edit.html.erb
saucy-0.2.44 app/views/memberships/edit.html.erb
saucy-0.2.43 app/views/memberships/edit.html.erb
saucy-0.2.42 app/views/memberships/edit.html.erb
saucy-0.2.41 app/views/memberships/edit.html.erb
saucy-0.2.40 app/views/memberships/edit.html.erb
saucy-0.2.39 app/views/memberships/edit.html.erb
saucy-0.2.38 app/views/memberships/edit.html.erb
saucy-0.2.36 app/views/memberships/edit.html.erb
saucy-0.2.35 app/views/memberships/edit.html.erb
saucy-0.2.34 app/views/memberships/edit.html.erb
saucy-0.2.33 app/views/memberships/edit.html.erb
saucy-0.2.32 app/views/memberships/edit.html.erb
saucy-0.2.31 app/views/memberships/edit.html.erb
saucy-0.2.30 app/views/memberships/edit.html.erb
saucy-0.2.29 app/views/memberships/edit.html.erb
saucy-0.2.28 app/views/memberships/edit.html.erb
saucy-0.2.27 app/views/memberships/edit.html.erb
saucy-0.2.26 app/views/memberships/edit.html.erb