mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:11:42 +00:00
crear articulos según layout
This commit is contained in:
parent
1b244bf273
commit
075c47f0c7
3 changed files with 8 additions and 7 deletions
|
@ -6,13 +6,16 @@
|
|||
@category]
|
||||
|
||||
%main.row
|
||||
%aside.col-md-3
|
||||
%aside.menu.col-md-3
|
||||
%h1
|
||||
= link_to @site.title, @site.url
|
||||
%p.lead= @site.description
|
||||
|
||||
= link_to t('posts.new'), new_site_post_path(@site),
|
||||
class: 'btn'
|
||||
%h3= t('posts.new')
|
||||
%ul
|
||||
- @site.layouts.keys.each do |layout|
|
||||
%li= link_to layout.to_s.humanize,
|
||||
new_site_post_path(@site, layout: layout)
|
||||
|
||||
- if policy(@site).edit?
|
||||
= link_to t('sites.edit.btn', site: @site.title),
|
||||
|
|
|
@ -355,8 +355,7 @@ en:
|
|||
date: 'date'
|
||||
order: 'Order'
|
||||
content: 'Text'
|
||||
new: 'New post'
|
||||
new_with_template: 'New %{template}'
|
||||
new: 'New post as'
|
||||
dropdown: 'Toggle dropdown'
|
||||
categories: 'Everything'
|
||||
index: 'Posts'
|
||||
|
|
|
@ -367,8 +367,7 @@ es:
|
|||
content: 'Cuerpo del artículo'
|
||||
categories: 'Todos'
|
||||
dropdown: 'Desplegar el menú'
|
||||
new: 'Crear artículo'
|
||||
new_with_template: 'Comenzar %{template}'
|
||||
new: 'Crear artículo en:'
|
||||
index: 'Artículos'
|
||||
edit: 'Editar'
|
||||
open: 'Nota: Puedes agregar más opciones a medida que las escribes y presionas Entrar'
|
||||
|
|
Loading…
Reference in a new issue