Rename debate-form HTML classes

So they follow the same convention used in proposals.

Note the styles are for elements which appear in the "new" view but not
in the "edit" view, so we only have to include them in one place.
This commit is contained in:
Javi Martín
2021-07-09 16:44:42 +02:00
parent 7a1acf5706
commit 7bc55f78c0
3 changed files with 4 additions and 4 deletions

View File

@@ -244,7 +244,7 @@
// 02. New participation // 02. New participation
// --------------------- // ---------------------
.debate-form, .debate-new,
.proposal-new, .proposal-new,
.budget-investment-form, .budget-investment-form,
.document-form, .document-form,
@@ -290,7 +290,7 @@
} }
} }
.debate-form { .debate-new {
.recommendations li::before { .recommendations li::before {
color: $debates; color: $debates;

View File

@@ -1,4 +1,4 @@
<div class="debate-form row"> <div class="debate-edit row">
<div class="small-12 column"> <div class="small-12 column">
<%= back_link_to %> <%= back_link_to %>

View File

@@ -1,4 +1,4 @@
<div class="debate-form row"> <div class="debate-new row">
<div class="small-12 medium-9 column"> <div class="small-12 medium-9 column">
<%= back_link_to debates_path %> <%= back_link_to debates_path %>