mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:41:42 +00:00
listado de autorxs
This commit is contained in:
parent
cd1c678f60
commit
c40538a9f7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
- if current_user.is_a? Usuaria
|
||||
.form-group
|
||||
= label_tag 'post_author', t('posts.author')
|
||||
- todxs = (@site.usuarias + @site.invitadxs).map(&:username)
|
||||
- todxs = (@site.usuarias + @site.invitadxs).compact.uniq.map(&:username)
|
||||
= select_tag 'post[author]',
|
||||
options_for_select(todxs, @post.author || current_user.email),
|
||||
{ class: 'form-control select2',
|
||||
|
|
Loading…
Reference in a new issue