0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-26 19:08:11 +00:00

Error bar added to edit page

This commit is contained in:
Scott Tolksdorf
2016-09-15 09:13:42 -04:00
parent 2a0c06cd3d
commit 9f05556bc5
4 changed files with 16 additions and 5 deletions

View File

@@ -62,6 +62,7 @@ var ErrorBar = React.createClass({
return <div className='errorBar'>
<i className='fa fa-exclamation-triangle' />
<h3> There are HTML errors in your markup</h3>
<small>If these aren't fixed your brew will not render properly when you print it to PDF or share it</small>
{this.renderErrors()}
<hr />
{this.renderProtip()}