Improve form layout

This commit is contained in:
John Furrow
2016-06-02 22:29:13 -07:00
parent 2bb9112d13
commit 1c02bc492e
12 changed files with 92 additions and 60 deletions

View File

@@ -43,18 +43,21 @@ export default class TextboxRepeater extends React.Component {
return (
<div className="textbox__wrapper form__row" key={index}>
<input className={inputClasses}
onChange={this.handleTextboxChange.bind(textbox, index)}
placeholder={this.props.placeholder}
value={textbox.value}
type="text" />
<div className="floating-action__group">
{removeButton}
{addButton}
<div className="form__column">
<input className={inputClasses}
onChange={this.handleTextboxChange.bind(textbox, index)}
placeholder={this.props.placeholder}
value={textbox.value}
type="text" />
<div className="floating-action__group">
{removeButton}
{addButton}
</div>
</div>
</div>
);
});
return textboxes;
}