Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog sample screen: apply selectpicker class to dropdown select #4394

Conversation

mzazrivec
Copy link
Contributor

Before:
dialog-before

After:
dialog-after

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Seal of Approval

@skateman
Copy link
Member

skateman commented Aug 3, 2018

@miq-bot assign @martinpovolny

@@ -64,7 +64,7 @@
%label{:for => "dialog_field_radio_sample_2"} Option 2

- if field.type == "DialogFieldDropDownList"
= select_tag("#{field.id}", options_for_select([_("Option 1"), _("Option 2")]))
= select_tag("#{field.id}", options_for_select([_("Option 1"), _("Option 2")]), {:class => 'selectpicker'})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor thing, you don't need the curly braces around the last hash argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, thanks!

@mzazrivec mzazrivec force-pushed the apply_selectpicker_class_to_dropdown_in_dialog_sample_screen branch from 3980226 to 147bafb Compare August 3, 2018 14:02
@miq-bot
Copy link
Member

miq-bot commented Aug 3, 2018

Checked commit mzazrivec@147bafb with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 👍

@martinpovolny martinpovolny merged commit fd3bec0 into ManageIQ:master Aug 7, 2018
@martinpovolny martinpovolny added this to the Sprint 92 Ending Aug 13, 2018 milestone Aug 7, 2018
@mzazrivec mzazrivec deleted the apply_selectpicker_class_to_dropdown_in_dialog_sample_screen branch August 7, 2018 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants