Sha256: 935ae109d4505c2d22a36426bad27967568af6895d1c336ddef1d382f0f3af38

Contents?: true

Size: 742 Bytes

Versions: 4

Compression:

Stored size: 742 Bytes

Contents

<div id="spotlight">
<% @page_title = "#{l :editing} #{l :group}" %>

<% form_tag :action => 'update', :id => @group do %>
  <%= render :partial => 'form' %>
  <%= submit_tag l(:save) %>
  <%= back_or_link_to l(:back), :action => 'list' %>
<% end %>
</div>

<div id="lfeature">
  <div class="btitle">
    <h4><%=l :members %></h4>
  </div>

<table>
<% for @user in @users %>
  <tr>
    <td><%=h @user.name%></td>
    <td>
      <% form_for :group, @group, :url => {:action => :set_member, :id => @group, :user_id => @user.id} do %>
        <%=check_box_tag :value, true, @group.users.include?(@user), :onchange => "form.submit()" %></td>
      <% end %>
  </tr>
<% end %>
</table>

<%= back_or_link_to l(:back), :action => 'list' %>

</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
backlog-0.0.5 app/views/groups/edit.rhtml
backlog-0.1.0 app/views/groups/edit.rhtml
backlog-0.1.1 app/views/groups/edit.rhtml
backlog-0.1.2 app/views/groups/edit.rhtml