Commit 7a4ac73d authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '336997-geo-form-left-actions' into 'master'

Geo Forms - Fix Buttons

See merge request gitlab-org/gitlab!78924
parents 2db7244d 6471ad68
......@@ -89,19 +89,18 @@ export default {
/>
<geo-node-form-capacities :node-data="nodeData" />
<section
class="gl-display-flex gl-align-items-center gl-p-5 gl-mt-6 gl-bg-gray-10 gl-border-t-solid gl-border-b-solid gl-border-t-1 gl-border-b-1 gl-border-gray-100"
class="gl-display-flex gl-align-items-center gl-p-5 gl-mt-6 gl-bg-gray-10 gl-border-t-solid gl-border-t-1 gl-border-gray-100"
>
<gl-button
id="node-save-button"
data-qa-selector="add_node_button"
variant="success"
class="gl-mr-5"
variant="info"
:disabled="formHasError"
@click="saveGeoNode(nodeData)"
>{{ __('Save changes') }}</gl-button
>
<gl-button id="node-cancel-button" class="gl-ml-auto" @click="redirect">{{
__('Cancel')
}}</gl-button>
<gl-button id="node-cancel-button" @click="redirect">{{ __('Cancel') }}</gl-button>
</section>
</form>
</template>
......@@ -78,19 +78,18 @@ export default {
/>
</gl-form-group>
<section
class="gl-display-flex gl-align-items-center gl-p-5 gl-mt-6 gl-bg-gray-10 gl-border-t-solid gl-border-b-solid gl-border-t-1 gl-border-b-1 gl-border-gray-100"
class="gl-display-flex gl-align-items-center gl-p-5 gl-mt-6 gl-bg-gray-10 gl-border-t-solid gl-border-t-1 gl-border-gray-100"
>
<gl-button
data-testid="settingsSaveButton"
data-qa-selector="add_node_button"
variant="success"
class="gl-mr-5"
variant="info"
:disabled="formHasError"
@click="updateGeoSettings"
>{{ __('Save changes') }}</gl-button
>
<gl-button data-testid="settingsCancelButton" class="gl-ml-auto" @click="redirect">{{
__('Cancel')
}}</gl-button>
<gl-button data-testid="settingsCancelButton" @click="redirect">{{ __('Cancel') }}</gl-button>
</section>
</form>
</template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment