mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-01 20:31:49 -05:00
Adds id's to all form groups and new forms
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
</at-tab-group>
|
||||
|
||||
<at-panel-body ng-if="!$state.current.name.includes('users')">
|
||||
<at-form state="vm.form" autocomplete="off">
|
||||
<at-input-text col="4" tab="1" state="vm.form.name"></at-input-text>
|
||||
<at-input-text col="4" tab="2" state="vm.form.description"></at-input-text>
|
||||
<at-input-lookup col="4" tab="3" state="vm.form.organization"></at-input-lookup>
|
||||
<at-form state="vm.form" autocomplete="off" id="application_form">
|
||||
<at-input-text col="4" tab="1" state="vm.form.name" id="application_name_group"></at-input-text>
|
||||
<at-input-text col="4" tab="2" state="vm.form.description" id="application_description_group"></at-input-text>
|
||||
<at-input-lookup col="4" tab="3" state="vm.form.organization" id="application_organization_group"></at-input-lookup>
|
||||
<at-divider></at-divider>
|
||||
<at-input-select col="4" tab="4" state="vm.form.authorization_grant_type"></at-input-select>
|
||||
<at-input-text col="4" tab="5" state="vm.form.redirect_uris"></at-input-text>
|
||||
<at-input-select col="4" tab="6" state="vm.form.client_type"></at-input-select>
|
||||
<at-input-select col="4" tab="4" state="vm.form.authorization_grant_type" id="application_authorization_grant_type_group"></at-input-select>
|
||||
<at-input-text col="4" tab="5" state="vm.form.redirect_uris" id="application_redirect_uris_group"></at-input-text>
|
||||
<at-input-select col="4" tab="6" state="vm.form.client_type" id="application_client_type_group"></at-input-select>
|
||||
|
||||
<at-action-group col="12" pos="right">
|
||||
<at-form-action type="cancel" to="applications"></at-form-action>
|
||||
|
||||
@@ -16,6 +16,8 @@ function AddCredentialsController (models, $state, $scope, strings, componentsSt
|
||||
omit: ['user', 'team', 'inputs']
|
||||
});
|
||||
|
||||
vm.form._formName = 'credential';
|
||||
|
||||
vm.form.disabled = !credential.isCreatable();
|
||||
|
||||
vm.form.organization._resource = 'organization';
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
</at-tab-group>
|
||||
|
||||
<at-panel-body>
|
||||
<at-form state="vm.form" autocomplete="off">
|
||||
<at-input-text col="4" tab="1" state="vm.form.name"></at-input-text>
|
||||
<at-input-text col="4" tab="2" state="vm.form.description"></at-input-text>
|
||||
<at-input-lookup col="4" tab="3" state="vm.form.organization"></at-input-lookup>
|
||||
<at-form state="vm.form" autocomplete="off" id="credential_form">
|
||||
<at-input-text col="4" tab="1" state="vm.form.name" id="credential_name_group"></at-input-text>
|
||||
<at-input-text col="4" tab="2" state="vm.form.description" id="credential_description_group"></at-input-text>
|
||||
<at-input-lookup col="4" tab="3" state="vm.form.organization" id="credential_organization_group"></at-input-lookup>
|
||||
|
||||
<at-divider></at-divider>
|
||||
|
||||
<at-input-lookup col="4" tab="5" state="vm.form.credential_type"></at-input-lookup>
|
||||
<at-input-lookup col="4" tab="5" state="vm.form.credential_type" id="credential_credential_type_group"></at-input-lookup>
|
||||
|
||||
<at-input-group col="4" tab="6" state="vm.form.inputs">
|
||||
<at-input-group col="4" tab="6" state="vm.form.inputs" form-id="credential">
|
||||
{{:: vm.strings.get('inputs.GROUP_TITLE') }}
|
||||
</at-input-group>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user