diff --git a/app/furniture/journal/entries/_form.html.erb b/app/furniture/journal/entries/_form.html.erb index 42186983f..8f5d33d03 100644 --- a/app/furniture/journal/entries/_form.html.erb +++ b/app/furniture/journal/entries/_form.html.erb @@ -1,5 +1,7 @@ <%= form_with model: entry.location, class: "flex flex-col grow" do |f| %> <%= render "text_field", { attribute: :headline, form: f} %> + <%= render "text_area", { attribute: :summary, form: f} %> + <%= render "text_area", { attribute: :body, form: f, field_classes: "grow", container_classes: "grow flex flex-col"} %> <%= render "datetime_field", { attribute: :published_at, form: f} %> diff --git a/app/furniture/journal/entry_policy.rb b/app/furniture/journal/entry_policy.rb index f54d4fb65..ebbb6bbe1 100644 --- a/app/furniture/journal/entry_policy.rb +++ b/app/furniture/journal/entry_policy.rb @@ -17,7 +17,7 @@ def update? end def permitted_attributes(_params) - %i[headline body published_at] + %i[headline summary body published_at] end class Scope < ApplicationScope