From fe99a4c883cd56cbe3bc1e6a2d22afcb50f6e4f8 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 22 Jun 2020 09:23:07 +0200 Subject: [PATCH] Display council candidacy bond (#3023) --- .../page-council/src/Overview/SubmitCandidacy.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/page-council/src/Overview/SubmitCandidacy.tsx b/packages/page-council/src/Overview/SubmitCandidacy.tsx index 03b91fe43d..c1698ea652 100644 --- a/packages/page-council/src/Overview/SubmitCandidacy.tsx +++ b/packages/page-council/src/Overview/SubmitCandidacy.tsx @@ -5,7 +5,7 @@ import { ComponentProps as Props } from './types'; import React, { useState } from 'react'; -import { Button, InputAddress, Modal, TxButton } from '@polkadot/react-components'; +import { Button, InputAddress, InputBalance, Modal, TxButton } from '@polkadot/react-components'; import { useApi, useModal } from '@polkadot/react-hooks'; import { useTranslation } from '../translate'; @@ -39,6 +39,19 @@ function SubmitCandidacy ({ electionsInfo }: Props): React.ReactElement {

{t('This account will appear in the list of candidates. With enough votes in an election, it will become either a runner-up or a council member.')}

+ + + ('The bond that is reserved')} + isDisabled + label={t('candidacy bond')} + /> + + +

{t('The bond will be reserved for the duration of your candidacy and membership.')}

+
+