<%= form_for [:admin, @comment] do |f| %>
<%= render :partial => 'roroacms/admin/partials/submit_bar' %>
<%= f.label "Post", :class => "col-sm-3 control-label" %>
<%= link_to edit_admin_article_path(@comment.post_id) do %> <%= @comment.post.post_title %> <% end %>
<%= f.label :author, :class => "col-sm-3 control-label" %>
<%= f.text_field :author, size: 40, :class => "form-control" %> <%= errors_for @comment, :author %>
<%= f.label :email, :class => "col-sm-3 control-label" %>
<%= f.text_field :email, size: 40, :class => "form-control" %> <%= errors_for @comment, :email %>
<%= f.label :website, :class => "col-sm-3 control-label" %>
<%= f.text_field :website, size: 40, :class => "form-control" %>
<%= f.label :comment_approved, class: "col-sm-3 control-label" %>
<%= f.label :submitted_on, :class => "col-sm-3 control-label" %>
<%= t("views.admin.generic.date") %> <%= f.datetime_select :submitted_on, { order: [:day, :month, :year, :hour, :minute], :use_short_month => true, :time_separator => '', datetime_separator: t("views.admin.generic.datetime_separator") }, :class => 'form-control' %>
<%= f.label :comment, :class => "col-sm-3 control-label" %>
<%= f.text_area :comment, :class => 'form-control'%>
<% end %>