Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 d6de5dd99e Fix title. 2024-08-22 23:53:02 +08:00
邱博亞 bd077054bb Fix js not reload bug. 2024-08-22 23:53:02 +08:00
邱博亞 c049ad8050 Fix bug in backend setting. 2024-08-22 23:53:01 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -485,7 +485,7 @@ class Admin::Coloncancerpredict2sController < OrbitAdminController
@table_str_right += '<div class= "cancer-btn-group cancer_form_field" id="'+@field_property["variable"]+'" style="float:left;clear:right;">' @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| @field_property["choice_fields"].each do |create_choice|
@table_str_right += '<button class="cancer_table_btn btn btn-default btn-sm">'+create_choice.to_s.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+'"/>' @table_str_right += '<input type="hidden" value="0" name="'+create_choice.to_s+'"/>'
end end
@table_str_right += '</div>' @table_str_right += '</div>'
end end
@ -577,7 +577,7 @@ class Admin::Coloncancerpredict2sController < OrbitAdminController
@table_result_choice_fileds += '<div class= "cancer-btn-group cancer_form_field" id="'+@field_property["variable"]+'" style="float:left;clear:right;">' @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| @field_property["choice_fields"].each do |create_choice|
@table_result_choice_fileds += '<button class="cancer_table_btn btn btn-default btn-sm">'+create_choice.to_s.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>' @table_result_choice_fileds += '<input type="hidden" value="0" name="'+create_choice.to_s+'"></input>'
end end
@table_result_choice_fileds += '</div>' @table_result_choice_fileds += '</div>'
end end