File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 type : "checkbox" ,
2323 class : "emancipation-category-check-box form-check-input" ,
2424 value : category . id ,
25- disabled : emancipation_category_checkbox_checked ( @current_case , category ) ) %>
25+ checked : emancipation_category_checkbox_checked ( @current_case , category ) ) %>
2626
2727 < div class ="pt-10 "> <%= category . name %> </ div >
2828 </ div >
4040 class : "emancipation-radio-button" ,
4141 name : "C#{ category . id } " ,
4242 value : option . id ,
43- disabled : emancipation_category_checkbox_checked ( @current_case , option ) ) %>
43+ checked : emancipation_option_checkbox_checked ( @current_case , option ) ) %>
4444 <% else %>
4545 <%= tag . input (
4646 type : "checkbox" ,
4747 id : "O#{ option . id } " ,
4848 class : "emancipation-option-check-box" ,
4949 value : option . id ,
50- disabled : emancipation_option_checkbox_checked ( @current_case , option ) ) %>
50+ checked : emancipation_option_checkbox_checked ( @current_case , option ) ) %>
5151 <% end %>
5252 < label > <%= option . name %> </ label >
5353 </ div >
You can’t perform that action at this time.
0 commit comments