Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
feat(wallet-settings): truncate representative address
Browse files Browse the repository at this point in the history
  • Loading branch information
devinus committed Mar 14, 2018
1 parent fd35261 commit e17ff4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/components/wallet-settings/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
</p>
</div>

{{form.element controlType="text" label='Representative' property='representative'
maxlength=64 required=true pattern="^xrb_[13](?![lv])[a-z1-9]{59}$"}}
{{#form.element controlType="text" label='Representative' property='representative'
maxlength=64 required=true pattern="^xrb_[13](?![lv])[a-z1-9]{59}$" as |el|}}
{{el.control class="text-truncate text-monospace"}}
{{/form.element}}

{{#bs-button buttonType="submit" type="warning" icon="fa fa-cubes" class="w-100"}}
{{t 'wallets.settings.changeRepresentative'}}
Expand Down

0 comments on commit e17ff4f

Please sign in to comment.