%= render partial: 'shared/form_model_errors', locals: { obj: @comment } %> <%= form_for @comment, url: admin_create_comment_path(test_hash), method: :post do |form| %>