mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 04:02:12 +02:00
Fix indentation in new.html.haml
This commit is contained in:
parent
e731d76d52
commit
80c6a4272a
1 changed files with 9 additions and 9 deletions
|
@ -2,15 +2,15 @@
|
||||||
.container.j2-page
|
.container.j2-page
|
||||||
= bootstrap_form_for(@announcement, url: {action: "create"}) do |f|
|
= bootstrap_form_for(@announcement, url: {action: "create"}) do |f|
|
||||||
- if @announcement.errors.any?
|
- if @announcement.errors.any?
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.alert.alert-danger
|
.alert.alert-danger
|
||||||
%strong
|
%strong
|
||||||
= pluralize(@announcement.errors.count, "error")
|
= pluralize(@announcement.errors.count, "error")
|
||||||
prohibited this announcement from being saved:
|
prohibited this announcement from being saved:
|
||||||
%ul
|
%ul
|
||||||
- @announcement.errors.full_messages.each do |err|
|
- @announcement.errors.full_messages.each do |err|
|
||||||
%li= err
|
%li= err
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
= f.text_area :content, label: "Content"
|
= f.text_area :content, label: "Content"
|
||||||
|
|
Loading…
Reference in a new issue