<%= "
#{@post.errors.full_messages.first}
".html_safe if @post.errors.any? %>
<%= f.text_field :title %>
<%= f.text_field :description %>
<%= f.text_field :created_by %>
<%= link_to 'Back', form_create_post_index_path %>
<%= f.submit 'Create Post' %>
<% end %>