Skip to content

Commit

Permalink
Hiding Network Credentials drop down from UI
Browse files Browse the repository at this point in the history
Hiding Network Credentials drop down from UI until we have support to add/edit Network type Credentials in UI.

https://www.pivotaltracker.com/story/show/141970189
  • Loading branch information
h-kataria committed Mar 21, 2017
1 parent cff36d4 commit 64c9f89
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions app/views/catalog/_sandt_tree_show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@
= _('Machine Credential')
.col-md-9
= h(provisioning[:machine_credential])
.form-group
%label.col-md-3.control-label
= _('Network Credential')
.col-md-9
= h(provisioning[:network_credential])
-#.form-group
-# %label.col-md-3.control-label
-# = _('Network Credential')
-# .col-md-9
-# = h(provisioning[:network_credential])
.form-group
%label.col-md-3.control-label
= _('Cloud Credential')
Expand Down
24 changes: 12 additions & 12 deletions app/views/layouts/angular/_ansible_form_options_angular.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@
'pf-select' => true}
%option{"value" => ""}
= "<#{_('Choose')}>"
.form-group
%label.col-md-3.control-label{"for" => "vm.#{prefix}_network_credential_id"}
= _('Network Credential')
.col-md-9
%select{"ng-model" => "vm._#{prefix}_network_credential",
"name" => "#{prefix}_network_credential_id",
'ng-options' => 'network_credential as network_credential.name for network_credential in vm.network_credentials',
:checkchange => true,
"data-live-search" => "true",
'pf-select' => true}
%option{"value" => ""}
= "<#{_('Choose')}>"
-#.form-group
-# %label.col-md-3.control-label{"for" => "vm.#{prefix}_network_credential_id"}
-# = _('Network Credential')
-# .col-md-9
-# %select{"ng-model" => "vm._#{prefix}_network_credential",
-# "name" => "#{prefix}_network_credential_id",
-# 'ng-options' => 'network_credential as network_credential.name for network_credential in vm.network_credentials',
-# :checkchange => true,
-# "data-live-search" => "true",
-# 'pf-select' => true}
-# %option{"value" => ""}
-# = "<#{_('Choose')}>"

.form-group
%label.col-md-3.control-label{"for" => "vm.#{prefix}_cloud_type"}
Expand Down

0 comments on commit 64c9f89

Please sign in to comment.