mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 15:16:21 +00:00
chore: haml-lint
This commit is contained in:
parent
9c8834facc
commit
a84ba934cb
6 changed files with 12 additions and 13 deletions
|
@ -9,6 +9,7 @@
|
||||||
- next if attribute == :date
|
- next if attribute == :date
|
||||||
- next if attribute == :draft
|
- next if attribute == :draft
|
||||||
- next if attribute == inverse
|
- next if attribute == inverse
|
||||||
|
|
||||||
- metadata = post[attribute]
|
- metadata = post[attribute]
|
||||||
|
|
||||||
- cache [post, metadata, I18n.locale] do
|
- cache [post, metadata, I18n.locale] do
|
||||||
|
|
|
@ -33,8 +33,7 @@
|
||||||
- dir = t("locales.#{@locale}.dir")
|
- dir = t("locales.#{@locale}.dir")
|
||||||
|
|
||||||
-# Comienza el formulario
|
-# Comienza el formulario
|
||||||
= form_tag url, method: method, class: 'form post ' + extra_class, multipart: true do
|
= form_tag url, method: method, class: "form post #{extra_class}", multipart: true do
|
||||||
|
|
||||||
-# Botones de guardado
|
-# Botones de guardado
|
||||||
= render 'posts/submit', site: site, post: post
|
= render 'posts/submit', site: site, post: post
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
-#
|
|
Loading…
Reference in a new issue