1. <h2>Add comment</h2>
  2. <br />
  3. <form action="/details/<%=@details_id%>" method="POST" role="form">
  4. <br />
  5. <label for="nickname" name="type_comment[id]">Username</label>
  6. <input type="text" name="type_comment[username]" id="nickname" class="form-control" placeholder="Your name">
  7. <br />
  8. <label for="post">Comment content</label>
  9. <textarea name="type_comment[content]" id="post" class="form-control" rows="6" placeholder="Type your post text here"></textarea>
  10. <br />
  11. <button type="submit" class="btn btn-primary">Submit</button>
  12. </form>
Comments powered by Disqus