Make antenna able to insert home
This commit is contained in:
parent
7c118ed1d0
commit
9429f5b60c
7 changed files with 34 additions and 8 deletions
|
@ -13,7 +13,7 @@
|
|||
= t('antennas.index.expires_in', distance: distance_of_time_in_words_to_now(antenna.expires_at))
|
||||
|
||||
.listname
|
||||
= antenna.list.title
|
||||
= antenna.list&.title || '[Insert to Home]'
|
||||
|
||||
.filters-list__item__permissions
|
||||
%ul.permissions-list
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
.fields-row
|
||||
.fields-group.fields-row__column.fields-row__column-6
|
||||
= f.input :list, collection: lists, wrapper: :with_label, label_method: lambda { |list| list.title }, label: t('antennas.edit.list'), selected: f.object.list&.id, hint: false
|
||||
= f.input :list, collection: lists, wrapper: :with_label, label_method: lambda { |list| list.title }, label: t('antennas.edit.list'), selected: f.object.list&.id, hint: false, include_blank: '[Insert to Home]'
|
||||
.fields-group.fields-row__column.fields-row__column-6
|
||||
= f.input :available, wrapper: :with_label, label: t('antennas.edit.available'), hint: false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue