Gui kosmetik
Some checks failed
/ Run tests (push) Failing after 1m10s
/ Run system tests (push) Failing after 1m15s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-11-01 04:47:56 +01:00
parent fd2a166025
commit 823284d6ba
5 changed files with 29 additions and 19 deletions

View file

@ -12,10 +12,11 @@
</i>
<% end %>
</div>
<div class="">
<%= element.description %>
</div>
<% if element.description %>
<div class="mb-3">
<%= element.description %>
</div>
<% end %>
<% end %>

View file

@ -1,4 +1,4 @@
<%= bootstrap_form_with(model: element.persisted? ? element : [:page, element]) do |form| %>
<%= bootstrap_form_with(model: element.persisted? ? element : [:page, element], class: "mb-3") do |form| %>
<%= form.hidden_field :page_id %>
<%= form.text_field :title %>
<%= form.rich_text_area :description %>