Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail Akbudak committed Jun 22, 2016
1 parent 123b032 commit ba23509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/app/views/hq/audits/_filters.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- type = params[:q][:user_type_eq]
- if type == 'Admin'
= f.label :user, label: t('activerecord.attributes.audits.user')
= f.input :user_id_eq, label: false, class: 'form-control chosen-select', placeholder: t('activerecord.attributes.audits.user'), collection: get_admins, include_blank: t('view.select')
= f.input_field :user_id_eq, label: false, class: 'form-control chosen-select', placeholder: t('activerecord.attributes.audits.user'), collection: get_admins, include_blank: t('view.select')
- elsif type == 'User'
= f.label :user, label: t('activerecord.attributes.audits.user')
= f.input_field :user_id_eq, label: false, class: 'form-control chosen-select', placeholder: t('activerecord.attributes.audits.user'), collection: get_users, include_blank: t('view.select')
Expand Down

0 comments on commit ba23509

Please sign in to comment.