mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
18 lines
821 B
Text
18 lines
821 B
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
Registration for #{@user.username} (#{@user.email})
|
|
|
|
= link_to 'Edit User', edit_admin_user_path(@user), class: 'btn btn-primary pull-right' if can? :edit, @user
|
|
.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 }
|
|
= f.action :submit, button_html: { class: 'btn btn-primary' }
|