Skip to content

Instantly share code, notes, and snippets.

@calas
Created July 20, 2009 12:46
Show Gist options
  • Save calas/150304 to your computer and use it in GitHub Desktop.
Save calas/150304 to your computer and use it in GitHub Desktop.
- sidebox do
= render @calendar
- sidebox(t(:'events.new_title')) do
- @event = @calendar.events.build
= render 'events/form'
- actions_box do
%li= link_to t(:'calendars.edit_title'), edit_calendar_path(@calendar)
%li= link_to t(:'events.index_title'), calendar_events_path(@calendar)
%li= link_to t(:'events.new_title'), new_calendar_event_path(@calendar)
%li= link_to t(:back), calendars_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment