Skip to content

Commit

Permalink
Stake modal: Move "Amount" to last field.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Braun authored and David Braun committed Sep 19, 2018
1 parent 49b276a commit 08490b3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions app/src/renderer/components/staking/ModalStake.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
img.icon(class='stake-atom' src="~assets/images/cosmos-logo.png")
span.tm-modal-title Stake

//- Amount
tm-form-group.stake-form-group(
field-id='amount'
field-label='Amount'
)
tm-field#amount(
:max="maximum"
:min="1"
type="number"
v-focus
v-model="amount")

//- To
tm-form-group.stake-form-group(
field-id='to' field-label='To')
Expand All @@ -31,6 +19,18 @@
v-model="fromIndex"
)

//- Amount
tm-form-group.stake-form-group(
field-id='amount'
field-label='Amount'
)
tm-field#amount(
:max="maximum"
:min="1"
type="number"
v-focus
v-model="amount")

//- Footer
.stake-footer
tm-btn(
Expand Down

0 comments on commit 08490b3

Please sign in to comment.