back button for new application member modal
This commit is contained in:
parent
daadc67eee
commit
0d5e0a3fa7
@ -47,6 +47,9 @@ export default {
|
|||||||
this.step += 1
|
this.step += 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
previous: function() {
|
||||||
|
this.step -= 1
|
||||||
|
},
|
||||||
goToStep: function(step) {
|
goToStep: function(step) {
|
||||||
if (this._checkIsValid()) {
|
if (this._checkIsValid()) {
|
||||||
this.step = step
|
this.step = step
|
||||||
|
@ -21,4 +21,9 @@
|
|||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: $gap * 3;
|
margin-bottom: $gap * 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.action-group__action--left {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,6 +118,11 @@
|
|||||||
form="add-app-mem"
|
form="add-app-mem"
|
||||||
value='Invite member'>
|
value='Invite member'>
|
||||||
<a class='action-group__action icon-link icon-link--default' v-on:click="closeModal('{{ new_port_mem }}')">Cancel</a>
|
<a class='action-group__action icon-link icon-link--default' v-on:click="closeModal('{{ new_port_mem }}')">Cancel</a>
|
||||||
|
<input
|
||||||
|
type='button'
|
||||||
|
v-on:click="previous()"
|
||||||
|
class='action-group__action usa-button action-group__action--left'
|
||||||
|
value='Previous step'>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endset %}
|
{% endset %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user