<div class="new-post large-7 columns">
  <h3><strong>Write a Post</strong></h3>
  <%= form_for [@group,@post], remote: true do |f| %>
    <%= render 'shared/error_messages', object: f.object %>
    <div class="field">
      <%= f.text_field :title, placeholder: "Title" %>
    </div>
    <div class="field">
      <%= f.text_area :content, placeholder: "Compose new post..." %>
    </div>
    <%= f.submit "Post New Topic", class: "button right" %>
  <% end %>
</div>

<div class="new-post large-7 columns">
  <h3><strong>Write a Post</strong></h3>
  <%= form_for [@group,@post], remote: true do |f| %>
    <%= render 'shared/error_messages', object: f.object %>
    <div class="field">
      <%= f.text_field :title, placeholder: "(optional) What's your post about?" %>
    </div>
    <div class="field">
      <%= f.text_area :content, required: true, placeholder: "Compose new post..." %>
    </div>
    <%= f.submit "Post New Topic", class: "button right" %>
  <% end %>
</div>

Add required content to posts
Add required content to posts
