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:
parent
75295531c6
commit
e90e20a901
1 changed files with 1 additions and 2 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue