lundi 12 mars 2018

Ruby on Rails: User Interface issue in f.association as: :check_boxes

First thing is that my cursor shows clickable option on label, Second when I clicked on check box UI get disturb. Please find attached snapshot of User Interface. Thanks for any hint.

Here is my code

=f.association :user_practices, required: true,as: :check_boxes,collection: remove_guest_role(@practice.indoor, @user.persisted?,@user_role), :label => false,:selected => @current_roles

User interface snapshot of check boxes

Aucun commentaire:

Enregistrer un commentaire