5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-29 15:16:21 +00:00

chore: haml-lint

This commit is contained in:
f 2024-05-24 13:23:30 -03:00
parent 9c8834facc
commit a84ba934cb
No known key found for this signature in database
6 changed files with 12 additions and 13 deletions

View file

@ -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

View file

@ -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

View file

@ -1 +0,0 @@
-#