Skip to content

Commit

Permalink
Merge pull request #8928 from agrare/fix_entry_point_camelize
Browse files Browse the repository at this point in the history
Fix .camelize after a &. safe navigation

(cherry picked from commit 05d8876)
Fryguy committed Sep 29, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5b79128 commit ac73614
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
@@ -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
2 changes: 1 addition & 1 deletion app/views/catalog/_reconfigure_entry_point.html.haml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion app/views/catalog/_retire_entry_point.html.haml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ac73614

Please sign in to comment.