Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
1.2 KiB

= render 'conferences/page_header', :page_key => 'Schedule'
%article
- if @this_conference.host?(current_user)
= row do
= columns(medium: 12) do
.actions.left
= link_to (_'actions.schedule.edit','Edit Schedule'), edit_schedule_path(@this_conference.slug), class: [:button]
= row do
= columns(medium: 6) do
%h2=_'articles.schedule.headings.Events'
- if @events
%ul
- @events.each do |event|
%li
%h3=_!event.title
= link_to (_'actions.events.edit','Edit'), edit_event_path(@this_conference.slug, event.id), class: [:button, :modify]
.actions.left
= link_to (_'actions.events.create','Add Event'), add_event_path(@this_conference.slug), class: [:button, :modify]
= columns(medium: 6) do
%h2=_'articles.schedule.headings.Locations'
- if @locations
%ul
- @locations.each do |location|
%li
%h3=_!location.title
= link_to (_'actions.locations.edit','Edit'), edit_location_path(@this_conference.slug, location.id), class: [:button, :modify]
.actions.left
= link_to (_'actions.schedule.edit','Add Location'), add_location_path(@this_conference.slug), class: [:button, :modify]