Skip to content

Commit

Permalink
Merge pull request #3632 from aufi/add_keystone_domain_to_infra
Browse files Browse the repository at this point in the history
Add Keystone Domain to EmsInfra form
(cherry picked from commit c8eba89)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1559630
  • Loading branch information
mzazrivec authored and simaishi committed Mar 22, 2018
1 parent b5ffddd commit 3c7fbf8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/views/ems_infra/_form.html.haml
Expand Up @@ -94,6 +94,18 @@
"maxlength" => 6,
"checkchange" => ""}
.form-group{"ng-class" => "{'has-error': angularForm.keystone_v3_domain_id.$invalid}", "ng-if" => "emsCommonModel.api_version == 'v3' && (emsCommonModel.emstype == 'openstack' || emsCommonModel.emstype == 'openstack_infra')"}
%label.col-md-2.control-label{"for" => "ems_keystone_domain_id"}
= _('Keystone V3 Domain ID')
.col-md-4
%input.form-control{"type" => "text",
"id" => "ems_keystone_domain_id",
"name" => "keystone_v3_domain_id",
"ng-model" => "emsCommonModel.keystone_v3_domain_id",
"required" => true,
"checkchange" => ""}
%hr
- if controller_name == "ems_container"
= render :partial => "/layouts/container_auth", :locals => {:record => @ems}
Expand Down

0 comments on commit 3c7fbf8

Please sign in to comment.