Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 e7a44ed090 Fix English title. 2024-08-22 23:53:52 +08:00
邱博亞 17c1674beb Fix js not reload bug. 2024-08-22 23:53:52 +08:00
邱博亞 e49baf5273 Fix bug in backend setting. 2024-08-22 23:53:52 +08:00
1 changed files with 4 additions and 4 deletions

View File

@ -484,8 +484,8 @@ class Admin::Coloncancerpredict1sController < OrbitAdminController
else
@table_str_right += '<div class= "cancer-btn-group cancer_form_field" id="'+@field_property["variable"]+'" style="float:left;clear:right;">'
@field_property["choice_fields"].each do |create_choice|
@table_str_right += '<button class="cancer_table_btn btn btn-default btn-sm">'+create_choice.titleize+'</button>'
@table_str_right += '<input type="hidden" value="0" name="'+create_choice+'"/>'
@table_str_right += '<button class="cancer_table_btn btn btn-default btn-sm">'+create_choice.to_s.titleize+'</button>'
@table_str_right += '<input type="hidden" value="0" name="'+create_choice.to_s+'"/>'
end
@table_str_right += '</div>'
end
@ -576,8 +576,8 @@ class Admin::Coloncancerpredict1sController < OrbitAdminController
else
@table_result_choice_fileds += '<div class= "cancer-btn-group cancer_form_field" id="'+@field_property["variable"]+'" style="float:left;clear:right;">'
@field_property["choice_fields"].each do |create_choice|
@table_result_choice_fileds += '<button class="cancer_table_btn btn btn-default btn-sm">'+create_choice.titleize+'</button>'
@table_result_choice_fileds += '<input type="hidden" value="0" name="'+create_choice+'"></input>'
@table_result_choice_fileds += '<button class="cancer_table_btn btn btn-default btn-sm">'+create_choice.to_s.titleize+'</button>'
@table_result_choice_fileds += '<input type="hidden" value="0" name="'+create_choice.to_s+'"></input>'
end
@table_result_choice_fileds += '</div>'
end