css - Simple form give checkboxes a class -


this code

<%= simple_form_for [current_employee, @preference] |f|%>   <%= f.association :jobterms,   as: :check_boxes, label: false%> <% end %> 

it generates html

<span class="checkbox">   <label for="preference_jobterm_ids_1">     <input class="check_boxes optional" type="checkbox" value="1" name="preference[jobterm_ids][]" id="preference_jobterm_ids_1">     "employee"   </label> </span> 

is possible give "employee" generated text surrounding class?

i'm trying make checkbox button , accessing text label affect styling of border.

enter image description here


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -