Display the error message on create volume group form

On create volume group form, if the volume type is not selected,
the creation is not successful, but no prompt message is shown.
This patch display error message when volume type is not selected

Change-Id: Ib7d7531a3cdeb6166dd63381901bc4ba2db412e0
Closes-Bug: #1825952
This commit is contained in:
pengyuesheng 2019-04-23 16:35:28 +08:00
parent c63073d6ed
commit 564fb5aa5b

View File

@ -3,6 +3,7 @@
<noscript><h3>{{ step }}</h3></noscript>
<div class="membership {{ step.slug }}_membership dropdown_fix" data-show-roles="{{ step.show_roles }}">
{% include 'horizon/common/_form_errors.html' with form=form %}
<div class="header">
<div class="help_text">{{ step.get_help_text }}</div>