mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 09:56:21 +00:00
feat: agregar contenido funcional
This commit is contained in:
parent
1f9d9b308b
commit
f2f6656b4c
4 changed files with 6 additions and 5 deletions
|
@ -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'
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue