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