mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
71 lines
1.6 KiB
Text
71 lines
1.6 KiB
Text
= form_for(@splashpage, url: admin_conference_splashpage_path) do |f|
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_cfp
|
|
Display call for papers and call for tracks?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_program
|
|
Display the program?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_tracks
|
|
Include confirmed tracks in the program?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_booths
|
|
Include confirmed
|
|
= (t'booth').pluralize
|
|
in the program?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_registrations
|
|
Display the registration period?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_tickets
|
|
Display the tickets?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_venue
|
|
Display the venue?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_lodgings
|
|
Display the lodgings?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_sponsors
|
|
Display the sponsors?
|
|
.checkbox
|
|
%label
|
|
= f.check_box :include_social_media
|
|
Display the social media links?
|
|
%h4
|
|
Access
|
|
%hr
|
|
.checkbox
|
|
%label
|
|
= f.check_box :public
|
|
Make splash page public?
|
|
.text-right
|
|
.checkbox
|
|
%label
|
|
= check_box_tag 'selectAll'
|
|
Select / Deselect All
|
|
= f.submit 'Save', { class: 'btn btn-primary' }
|
|
|
|
:javascript
|
|
$(document).ready(function(){
|
|
$('#selectAll').click(function() {
|
|
if (this.checked) {
|
|
$(':checkbox').each(function() {
|
|
this.checked = true;
|
|
});
|
|
} else {
|
|
$(':checkbox').each(function() {
|
|
this.checked = false;
|
|
});
|
|
}
|
|
});
|
|
});
|