anchors para los campos #51

This commit is contained in:
f 2018-06-22 16:06:58 -03:00
parent cdff6f523c
commit ae59d8c4e9
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7
3 changed files with 5 additions and 0 deletions

View file

@ -87,6 +87,9 @@
- value = @post.new? ? template.values : @post.get_front_matter(template)
.form-group
= label_tag "post_#{template}", id: template do
= link_to '#' + template.key, class: 'text-muted',
data: { turbolinks: 'false' } do
= fa_icon 'link', title: t('posts.anchor')
- if template.private?
= fa_icon 'lock', title: t('posts.private')
= template.help

View file

@ -212,3 +212,4 @@ en:
add: 'Add group'
del: 'Remove group'
checkbox: 'Yes'
anchor: 'Copy this link to come back here'

View file

@ -208,3 +208,4 @@ es:
add: 'Agregar grupo'
del: 'Eliminar grupo'
checkbox: 'Sí'
anchor: 'Copia este vínculo para volver aquí más tarde'