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

26 lines
556 B
Plaintext
Raw Normal View History

2024-01-06 10:29:41 +00:00
<%= form_with model: @learning_goal, id: "learning_goal_form" do |f| %>
<h2><%= title %></h2>
<%= f.text_field :title, placeholder: t(".title") %>
<%= f.rich_text_area :description %>
<%= f.label :starts_on %>
<%= f.date_field :starts_on %>
<%= f.label :ends_on %>
<%= f.date_field :ends_on %>
<%= f.rich_text_area :retrospective %>
<%= f.label :completed %>
<%= f.check_box :completed %>
2024-01-06 11:10:56 +00:00
<%= f.label :microposts_tag %>
<%= f.collection_check_boxes :tag_ids, Tag.all, :id, :name %>
2024-01-06 10:29:41 +00:00
<%= f.submit button_text %>
<% end %>