OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/cells/views/members/role_form/show.erb

24 lines
836 B

<%# We're not using the rails form helper here on purpose.
# It simply doesn't mix at all with cells views.
#%>
<form action="<%= form_url %>"
method="post"
id="<%= row.roles_css_id %>-form"
class="hol"
style="display:none"
accept-charset="UTF-8"
>
<input name="utf8" type="hidden" value="✓">
<input type="hidden" name="_method" value="put">
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>">
<p>
<% roles.each do |role| %>
<label><%= role_checkbox(role) %> <%= h role %></label>
<% end %>
</p>
<%= hidden_field_tag "member[role_ids][]", "" %>
<p>
<%= submit_tag t(:button_change), class: "button -highlight -small" %>
<%= link_to_function t(:button_cancel), row.cancel_edit_javascript, class: 'button -small' %>
</p>
</form>