5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 10:46:22 +00:00

feat: agregar contenido funcional

This commit is contained in:
maki 2024-03-13 17:52:47 -03:00
parent 1f9d9b308b
commit f2f6656b4c
4 changed files with 6 additions and 5 deletions

View file

@ -1 +1 @@
= link_to t('.add'), new_site_post_path(site, layout: schema.value), class: 'btn btn-secondary btn-sm m-0'
= link_to t(schema.humanized_name), new_site_post_path(site, layout: schema.value), class: 'stretched-link black text-decoration-none'

View file

@ -1,8 +1,9 @@
%tr.border-top.border-magenta
%th.font-weight-normal.w-100{ scope: 'row' }
%th.font-weight-normal.w-100.position-relative{ scope: 'row' }
- if local_assigns[:parent_schema]
%span.text-muted —
= schema.humanized_name
= render 'schemas/add', schema: schema, **local_assigns
-# XXX: Solo un nivel de recursividad
- unless local_assigns[:parent_schema]

View file

@ -700,7 +700,7 @@ en:
date: 'date'
order: 'Order'
content: 'Text'
new: 'Post types'
new: 'Add content'
remove_filter_help: 'Remove the filter: %{filter}'
categories: 'Everything'
index:

View file

@ -712,7 +712,7 @@ es:
order: 'Posición'
content: 'Cuerpo del artículo'
categories: 'Todos'
new: 'Tipos de artículos'
new: 'Agregar contenido'
remove_filter_help: 'Quitar este filtro: %{filter}'
index:
search: 'Buscar'