app/views/forums/threads/new.html.haml
- content_for(:title) { 'New Thread | Forums' }
= render 'forums/head', object: @thread.topic, subheading: 'New thread'
.card.bg-light.mb-3
.card-body
= bootstrap_form_for @thread, url: forums_threads_path(topic: @thread.topic) do |f|
= render 'form', f: f, post: @post
.d-flex.justify-content-end
= link_to 'Cancel', :back, class: 'btn btn-link mr-2'
= f.primary 'Create'