From 0fc47128205fa172fa3e505593e1bf531c6ef839 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Wed, 1 Mar 2017 15:43:08 -0500 Subject: [PATCH] Convert Publish page to use new FormField and field label styles --- js/page/publish.js | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/js/page/publish.js b/js/page/publish.js index b7c9d0a28..e090d19f3 100644 --- a/js/page/publish.js +++ b/js/page/publish.js @@ -4,18 +4,6 @@ import FormField from '../component/form.js'; import {Link} from '../component/link.js'; import Modal from '../component/modal.js'; - -var publishNumberStyle = { - width: '50px', -}, publishFieldLabelStyle = { - display: 'inline-block', - width: '118px', - textAlign: 'right', - verticalAlign: 'top', -}, publishFieldStyle = { - width: '330px', -}; - var PublishPage = React.createClass({ _requiredFields: ['name', 'bid', 'meta_title', 'meta_author', 'meta_license', 'meta_description'], @@ -301,7 +289,7 @@ var PublishPage = React.createClass({

Bid Amount

- Credits + Credits
How much would you like to bid for this name? { !this.state.nameResolved ? Since this name is not currently resolved, you may bid as low as you want, but higher bids help prevent others from claiming your name. : (this.state.topClaimIsMine ? You currently control this name with a bid of {this.state.myClaimValue} {this.state.myClaimValue == 1 ? 'credit' : 'credits'}. @@ -321,7 +309,7 @@ var PublishPage = React.createClass({
- +
@@ -398,7 +386,7 @@ var PublishPage = React.createClass({

Additional Content Information (Optional)

- +