Soc/app/views/microposts/_form.html.erb

10 lines
220 B
Plaintext
Raw Permalink Normal View History

<%= form_with model: @micropost, id: "micropost_form" do |f| %>
<h2><%= title %></h2>
<%= f.rich_text_area :content %>
<%= text_field_tag :tags, tag_string(@micropost) %>
2023-10-19 18:10:20 +00:00
<%= f.submit button_text %>
<% end %>