Преглед изворни кода

add checkbox in comment-form

yusuketk пре 8 година
родитељ
комит
edefaefb64
1 измењених фајлова са 4 додато и 0 уклоњено
  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>