File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
app/models/manageiq/providers/vmware Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def self.description
3535 end
3636
3737 def self . params_for_create
38- @params_for_create ||= {
38+ {
3939 :fields => [
4040 {
4141 :component => "select" ,
@@ -208,15 +208,15 @@ def self.params_for_create
208208 :component => "text-field" ,
209209 :id => "authentications.amqp.userid" ,
210210 :name => "authentications.amqp.userid" ,
211- :label => "Username" ,
211+ :label => _ ( "Username" ) ,
212212 :isRequired => true ,
213213 :validate => [ { :type => "required" } ] ,
214214 } ,
215215 {
216216 :component => "password-field" ,
217217 :id => "authentications.amqp.password" ,
218218 :name => "authentications.amqp.password" ,
219- :label => "Password" ,
219+ :label => _ ( "Password" ) ,
220220 :type => "password" ,
221221 :isRequired => true ,
222222 :validate => [ { :type => "required" } ] ,
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def self.verify_credentials(args)
8282 end
8383
8484 def self . params_for_create
85- @params_for_create ||= {
85+ {
8686 :fields => [
8787 {
8888 :component => 'sub-form' ,
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def self.description
5353 end
5454
5555 def self . params_for_create
56- @params_for_create ||= {
56+ {
5757 :fields => [
5858 {
5959 :component => 'text-field' ,
@@ -216,15 +216,15 @@ def self.params_for_create
216216 :component => "text-field" ,
217217 :id => "authentications.console.userid" ,
218218 :name => "authentications.console.userid" ,
219- :label => "Username" ,
219+ :label => _ ( "Username" ) ,
220220 :isRequired => true ,
221221 :validate => [ { :type => "required" } ] ,
222222 } ,
223223 {
224224 :component => "password-field" ,
225225 :id => "authentications.console.password" ,
226226 :name => "authentications.console.password" ,
227- :label => "Password" ,
227+ :label => _ ( "Password" ) ,
228228 :type => "password" ,
229229 :isRequired => true ,
230230 :validate => [ { :type => "required" } ] ,
You can’t perform that action at this time.
0 commit comments