Update personal_journals_controller.rb
This commit is contained in:
parent
0d33d3b74c
commit
9d69958d75
|
@ -87,7 +87,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
end
|
end
|
||||||
choice_value = fields_to_show
|
choice_value = fields_to_show
|
||||||
choice_value.unshift("default")
|
choice_value.unshift("default")
|
||||||
choice_select=choice_value.map{|iter| iter==params[:selectbox] ? "selected" : ""}
|
choice_select=choice_value.map{|iter| iter==params[:selectbox] ? "selected" : " "}
|
||||||
choice_select=choice_select.map{|value| {"choice_select" => value}}
|
choice_select=choice_select.map{|value| {"choice_select" => value}}
|
||||||
choice_value=choice_value.map{|value| {"choice_value" => value}}
|
choice_value=choice_value.map{|value| {"choice_value" => value}}
|
||||||
choice_default = params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
choice_default = params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
||||||
|
|
Loading…
Reference in New Issue