Sha256: 71da95258854c0020a5a910ec2e31a38bcb4eb23660ed144d7b6c02c1df71114

Contents?: true

Size: 640 Bytes

Versions: 2

Compression:

Stored size: 640 Bytes

Contents

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

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

<%= semantic_form_for @membership do |form| -%>
  <%= form.inputs do -%>
    <%= form.input :admin %>
    <%= form.input :projects, :as => :check_boxes, :collection => @projects %>
  <% end -%>
  <%= form.buttons do -%>
    <%= form.commit_button "Update" %>
    <li><%= link_to "Remove from account",
                    @membership,
                    :method  => :delete,
                    :confirm => "Are you sure?" %></li>
  <% end -%>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
saucy-0.1.15 app/views/memberships/edit.html.erb
saucy-0.1.14 app/views/memberships/edit.html.erb