mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 14:15:15 +00:00
Improve form layout
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user