Adds IDs for each button in the item submission block.
This commit is contained in:
parent
122e4aa9b8
commit
df963f1e4e
|
@ -612,6 +612,7 @@
|
||||||
style="margin-right: auto;">
|
style="margin-right: auto;">
|
||||||
<button
|
<button
|
||||||
@click="onDiscard()"
|
@click="onDiscard()"
|
||||||
|
id="tainacan-item-submission-block-button--cancel"
|
||||||
type="button"
|
type="button"
|
||||||
class="wp-block-button__link wp-element-button">
|
class="wp-block-button__link wp-element-button">
|
||||||
{{ $i18n.get('cancel') }}
|
{{ $i18n.get('cancel') }}
|
||||||
|
@ -622,6 +623,7 @@
|
||||||
class="wp-block-button">
|
class="wp-block-button">
|
||||||
<button
|
<button
|
||||||
@click="onPreviousStep()"
|
@click="onPreviousStep()"
|
||||||
|
id="tainacan-item-submission-block-button--previous"
|
||||||
type="button"
|
type="button"
|
||||||
class="wp-block-button__link wp-element-button">
|
class="wp-block-button__link wp-element-button">
|
||||||
{{ $i18n.get('previous') }}
|
{{ $i18n.get('previous') }}
|
||||||
|
@ -632,6 +634,7 @@
|
||||||
class="wp-block-button">
|
class="wp-block-button">
|
||||||
<button
|
<button
|
||||||
@click="onNextStep()"
|
@click="onNextStep()"
|
||||||
|
id="tainacan-item-submission-block-button--next"
|
||||||
type="button"
|
type="button"
|
||||||
class="wp-block-button__link wp-element-button">
|
class="wp-block-button__link wp-element-button">
|
||||||
{{ $i18n.get('next') }}
|
{{ $i18n.get('next') }}
|
||||||
|
@ -642,6 +645,7 @@
|
||||||
class="wp-block-button">
|
class="wp-block-button">
|
||||||
<button
|
<button
|
||||||
:disabled="showTermsAgreementCheckbox && !userHasAgreedToTerms"
|
:disabled="showTermsAgreementCheckbox && !userHasAgreedToTerms"
|
||||||
|
id="tainacan-item-submission-block-button--submit"
|
||||||
@click="onSubmit()"
|
@click="onSubmit()"
|
||||||
type="button"
|
type="button"
|
||||||
class="wp-block-button__link wp-element-button">
|
class="wp-block-button__link wp-element-button">
|
||||||
|
|
Loading…
Reference in New Issue