Add buttons in the interface

This commit is contained in:
Sasi Olin 2021-02-14 23:21:56 +01:00 committed by Henne Vogelsang
parent d540092bfc
commit 613161bbc7
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
2 changed files with 12 additions and 3 deletions

View file

@ -18,6 +18,11 @@
#antiquated.collapse
- @antiquated.each do |conference|
= render '/conferences/conference_details', conference: conference
%p
Add the events to your calendar:
%span.btn-group
= link_to("Days only", calendar_url(protocol: 'webcal', format: 'ics'), class: 'btn btn-default')
= link_to("Detailed", calendar_url(protocol: 'webcal', format: 'ics', full: true), class: 'btn btn-default')
-content_for :script_body do
:javascript