Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Hide Conference offer for Teams #1157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/views/organizers/teams/_form.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@
= f.input :season_id, as: :select, collection: Season.order('name DESC') { |e| [s.name, s.id] }
- if f.object.accepted?
= render 'teams/conference_preference_fields', f: f
.page-header
h3 Conference Offers
.conference-info
// .page-header
//h3 Conference Offers
//.conference-info
| Please select one or more conferences free tickets to which you would like to offer to the students.
fieldset
//fieldset
= f.simple_fields_for :conference_attendances do |c|
= c.input :conference_id, collection: @conferences&.group_by(&:region), as: :grouped_select, group_method: :last, label: "Offered conference", include_blank: "None"
= c.input :orga_comment, label: "Comment"

.form-group.form-btn-group
= f.link_to_add 'Add another conference offer', :conference_attendances, class: 'btn btn-primary col-sm-offset-3'

.actions
//.actions
ul.list-inline
li = f.submit 'Save', class: 'btn btn-success'
li = link_to 'Cancel', [:organizers, @team], class: 'btn btn-default'