Skip to content

Commit

Permalink
Fix .camelize after a &. safe navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Sep 29, 2023
1 parent efd98a2 commit ac0ed80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/catalog/_provision_entry_point.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
= text_field_tag("fqname",
edit_new[:fqname],
:class => "form-control long_text entry_point_text",
:placeholder => type&.gsub('_',' ').camelize,
:placeholder => type&.gsub('_',' ')&.camelize,
"data-miq_observe" => {:interval => '.5', :url => url}.to_json)
%span.input-group-btn
#fqname_div
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_reconfigure_entry_point.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
= text_field_tag("reconfigure_fqname",
edit_new[:reconfigure_fqname],
:class => "form-control long_text entry_point_text",
:placeholder => type&.gsub('_',' ').camelize,
:placeholder => type&.gsub('_',' ')&.camelize,
"data-miq_observe" => {:interval => '.5', :url => url}.to_json)
%span.input-group-btn
#reconfigure_fqname_div
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_retire_entry_point.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
= text_field_tag("retire_fqname",
edit_new[:retire_fqname],
:class => "form-control long_text entry_point_text",
:placeholder => type&.gsub('_',' ').camelize,
:placeholder => type&.gsub('_',' ')&.camelize,
"data-miq_observe" => {:interval => '.5', :url => url}.to_json)
%span.input-group-btn
#retire_fqname_div
Expand Down

0 comments on commit ac0ed80

Please sign in to comment.