| <%= ac.select(:department, Division.all_for_form) -%>
| <%= ac.check_box :access_read %> |
<%= ac.check_box :access_write %> |
<%= ac.check_box :access_delete %> |
<%= ac.check_box :access_superuser %> |
<%= ac.check_box :access_admin %> |
<%= ac.hidden_field :_destroy %><%= button_to_function "Удалить", "remove_access_fields(this)"%> |