Commit aab9a637 authored by Tugce Nur Tas's avatar Tugce Nur Tas
Browse files

nitfix

parent a5ff5091
= simple_form_for(@department) do |f|
= simple_error_notice f
.row
.col-xs-12.col-md-6.department_assocable
- if policy(Department).can_associate_user?
- if policy(Department).can_associate_user?
.col-xs-12.col-md-6.department_assocable
= f.association :user, as: :check_boxes, collection: User.department_assocable.sort_by(&:to_s)
= f.simple_fields_for :contact do |c|
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment