21 lines
652 B
Text
21 lines
652 B
Text
|
|
.row
|
||
|
|
.col-md-12
|
||
|
|
.page-header
|
||
|
|
%h1
|
||
|
|
Edit
|
||
|
|
= @sponsor.name
|
||
|
|
.row
|
||
|
|
.col-md-8
|
||
|
|
= semantic_form_for(@sponsor, url: admin_conference_sponsor_path(@conference.short_title, @sponsor)) do |f|
|
||
|
|
= f.input :name
|
||
|
|
= f.input :description
|
||
|
|
= f.input :picture
|
||
|
|
= f.input :website_url
|
||
|
|
= f.input :sponsorship_level, collection: @conference.sponsorship_levels
|
||
|
|
= f.input :company_address
|
||
|
|
= f.input :vat_registration
|
||
|
|
= image_tag f.object.picture.thumb.url if f.object.picture?
|
||
|
|
= f.input :picture
|
||
|
|
%p.text-right
|
||
|
|
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|