Use same structure on new and edit budget forms

The margin between the heading and the form was different due to margin
collapsing, which applied in one case but not the other.
This commit is contained in:
Javi Martín
2021-03-10 15:08:47 +01:00
parent 4c02317909
commit fa7e2fe3dd
2 changed files with 9 additions and 1 deletions

View File

@@ -5,6 +5,10 @@
clear: both;
margin-top: $line-height * 1.5;
&:first-of-type {
margin-top: 0;
}
legend {
color: $admin-text;
font-size: $small-font-size;

View File

@@ -1,3 +1,7 @@
<%= back_link_to admin_budgets_path %>
<header>
<h2><%= t("admin.budgets.new.title") %></h2>
</header>
<%= render "/admin/budgets/form" %>