You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
419 B
11 lines
419 B
= @form.hidden_field(:id, { class: 'id' })
|
|
= @form.check_box(:_destroy, {:no_wrapper => true})
|
|
= @form.label(:_destroy, '×')
|
|
= @form.hidden_field(:organization_id, { class: 'organzation-id'} )
|
|
- if @value && @value.id
|
|
= form_html = image_tag(@value.avatar.url :thumb)
|
|
.organizationname=@value.name
|
|
- else
|
|
%a.select-organization{href: '#'}
|
|
= image_tag('http://placehold.it/120x120&text=%252B')
|
|
.organizationname
|
|
|