<%= form_with(url: "/blogs", method: :post, id: "blogForm") do %>
<%= label_tag :title, "Title:" %>
<%= text_field_tag :title, nil, required: true %>
<%= label_tag :content, "Content:" %>
<%= text_area_tag :content, nil, required: true %>
<%= submit_tag "Submit" %>
<% end %>