5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 11:51:42 +00:00

no romper el texto con hardwraps tontos closes #39

This commit is contained in:
f 2018-02-19 17:18:39 -03:00
parent 75295531c6
commit e90e20a901
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -28,8 +28,7 @@
placeholder: t('posts.title') placeholder: t('posts.title')
.form-group{class: direction} .form-group{class: direction}
= text_area_tag 'post[content]', @post.content, autofocus: true, = text_area_tag 'post[content]', @post.content, autofocus: true,
class: 'post-content', class: 'post-content'
cols: 72, wrap: 'hard'
.form-group .form-group
= label_tag 'post_date', t('posts.date') = label_tag 'post_date', t('posts.date')
= date_field 'post', 'date', value: @post.date.try(:strftime, '%F'), = date_field 'post', 'date', value: @post.date.try(:strftime, '%F'),