lib/carte/client/views/edit.cjsx in carte-server-0.0.26 vs lib/carte/client/views/edit.cjsx in carte-server-0.0.27

- old
+ new

@@ -62,21 +62,21 @@ render: -> <Modal className={"animated infinite shake" if @state.shaking} {...@props} bsStyle='default' title={if @props.card.isNew() then <i className="glyphicon glyphicon-plus" /> else <i className="glyphicon glyphicon-edit" />} animation={false}> <div className='modal-body'> { if @state.errors - <div className="alert alert-danger" role="alert" style={padding:'5px'}> - <ul style={paddingLeft:"20px"}> - { - for key, errors of @state.errors - for error in errors - <li>{key + ' ' + error}</li> - } + <div className="alert alert-danger" role="alert"> + <ul> + { + for key, errors of @state.errors + for error in errors + <li>{key + ' ' + error}</li> + } </ul> </div> else if @state.createSuccess - <div className="alert alert-success" role="alert" style={padding:'5px'}> + <div className="alert alert-success" role="alert"> <i className="glyphicon glyphicon-info-sign" />&nbsp; You created a card successfully. Let's create next one. </div> } <div className="form-group"> @@ -97,10 +97,10 @@ <label> <input type="checkbox" checked={@state.dontCloseDialog} onChange={@onChangeDontCloseDialog} /> Don't Close Dialog </label> </div> } - <div className="form-group" style={{paddingBottom:'17px'}}> + <div className="form-group"> <button className="btn btn-default pull-right" onClick={@onClickOk} disabled={@state.updating}> &nbsp; OK &nbsp; {