Explorar el Código

add checkbox in comment-form

yusuketk hace 8 años
padre
commit
edefaefb64
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      resource/js/components/PageComment/CommentForm.js

+ 4 - 0
resource/js/components/PageComment/CommentForm.js

@@ -43,6 +43,10 @@ export default class CommentForm extends React.Component {
             placeholder="Write comments here..."
             onChange={this.handleChange}
           />
+          <div className="form-check">
+          <input type="checkbox" className="form-check-input" id="checkbox-markdown"></input>
+            <label className="form-check-label" htmlFor="checkbox-markdown">Markdown</label>
+          </div>
 
         </div>
       </div>