Mercurial > hg > soundsoftware-site
view app/views/users/_groups.rhtml @ 299:defe55be97b9 feature_73
Do not show external checkbox/field until the repo has been automatically populated
Pull external Hg as well as git and svn repos
Some textual changes
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 24 Mar 2011 15:48:36 +0000 |
parents | 94944d00e43c |
children |
line wrap: on
line source
<% form_for(:user, :url => { :action => 'update' }, :html => {:method => :put}) do %> <div class="box"> <% Group.all.sort.each do |group| %> <label><%= check_box_tag 'user[group_ids][]', group.id, @user.groups.include?(group) %> <%=h group %></label><br /> <% end %> <%= hidden_field_tag 'user[group_ids][]', '' %> </div> <%= submit_tag l(:button_save) %> <% end %>