Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 94ef78df4c Fix title. 2024-08-22 23:44:10 +08:00
邱博亞 93d56740b8 Fix js not reload bug. 2024-08-22 23:44:10 +08:00
邱博亞 34d4f80b2a Fix bug in backend setting. 2024-08-22 23:44:09 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ class Admin::Coloncancerpredict2sController < 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 += '<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+'"/>'
end
@table_str_right += '</div>'
@ -576,7 +576,7 @@ class Admin::Coloncancerpredict2sController < 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 += '<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+'"></input>'
end
@table_result_choice_fileds += '</div>'