I would like to create some check boxes, where they will belong to Feature Model. I know api says check_box(object_name, method, options = {}, checked_value = "1", unchecked_value = "0"). But I would like to get the name of the check box. Lets say if I have a check box Air Conditioning, when it is clicked I would like to get Air Conditioning itself.
First question how to get it and second question, how should I build the database, will it be boolean or string in this case?.
Thank you
Aucun commentaire:
Enregistrer un commentaire