mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
23 lines
988 B
Text
23 lines
988 B
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
Registration for #{@user.username}
|
|
.row
|
|
.col-md-6
|
|
= semantic_form_for(@registration, url: admin_conference_registration_path(@conference.short_title, @registration)) do |f|
|
|
= f.inputs 'Personal Information' do
|
|
= f.fields_for :user do |u|
|
|
= u.input :name, as: :string
|
|
= u.input :nickname, as: :string
|
|
= u.input :affiliation, placeholder: 'Company/User Group/nothing', as: :string
|
|
= f.inputs 'Registration Information' do
|
|
= render partial: 'conference_registrations/registration_info', locals: { f: f }
|
|
|
|
-# Not necessary
|
|
- if @conference.social_events.count > 0
|
|
= f.inputs 'Are you planning to attend any of the parties?' do
|
|
%br Yes, I'll be attending...
|
|
%br
|
|
= f.input :social_events, as: :check_boxes, label: false, collection: @conference.social_events
|
|
= f.action :submit, button_html: { class: 'btn btn-primary' }
|