mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-25 04:47:59 +01:00
20 lines
466 B
Text
20 lines
466 B
Text
|
= form_for @changeset, @action, fn f ->
|
||
|
= if @changeset.action do
|
||
|
.alert.alert-danger
|
||
|
p Oops, something went wrong! Please check the errors below.
|
||
|
|
||
|
.field
|
||
|
=> label f, :title
|
||
|
= text_input f, :title, class: "input input--wide"
|
||
|
|
||
|
.field
|
||
|
=> label f, :slug
|
||
|
= text_input f, :slug, class: "input input--wide"
|
||
|
|
||
|
.field
|
||
|
=> label f, :body
|
||
|
= textarea f, :body, class: "input input--wide"
|
||
|
|
||
|
.actions
|
||
|
= submit "Save", class: "button"
|