heat-dashboard/heat_dashboard/content
Keigo Noha 81190f1b0d Set False to include_empty_option
In _populate_custom_choices(), all methods called at the method have
True as a second argument. It means that the default values sepcified
in a stack are not shown as default when launch stack form.
The fileds always show 'Select Flavor/Image/Network'.
Users doesn't expect to choose default value by hand.
This change shows the default values defined at a template.

Also, image_field_data() doesn't use parameter, include_empty_option.
This change modfies the method to change the behavior based on the
parameter.

Closes-Bug: #1619465
Change-Id: I4b6bef322a668a805abcd4bc472d30f6d1df3a0a
(cherry picked from commit 792f8cbe4a)
2022-06-08 16:37:10 +10:00
..
resource_types Django 2.0 support 2018-06-06 20:34:24 +09:00
stacks Set False to include_empty_option 2022-06-08 16:37:10 +10:00
template_generator Group resource icons by project 2018-06-25 15:27:25 +09:00
template_versions Django 2.0 support 2018-06-06 20:34:24 +09:00
__init__.py move files. 2017-10-06 14:42:23 +09:00