<%= form_tag :controller => :topics do %>
  <p>
<%= @board.id %>
    <%=t 'topic.title' %><%= text_field_tag  "topic[name]" %>
  </p>
  <p>
    <%= text_area_tag "post[content]" %>
   </p>
   <%= hidden_field_tag  "topic[category_id]", @board.id %>
   <%= hidden_field_tag  "topic[category_type]", :board %>
   <%= submit_tag t("topic.submit") %>
<% end %>