<% if @event.parent %> <% else %> <% end %> <% if proposal_statuses? %> <% end %> <% if event_schedule? %> <% end %> <% if event_proposal_comments_after_deadline? %> <% end %>
<%=h @event.slug%>
<%=h @event.title %>
<%= link_to(h(@event.parent.title), manage_event_path(@event.parent)) %>
    <% for child in @event.children %>
  • <%= link_to(h(child.title), manage_event_path(child)) %>
  • <% end %>
  • <%= link_to "Add new child event...", new_manage_event_path(:parent_id => @event.id) %>
<%=h @event.start_date.to_s(:ocw_date_time_long) if @event.start_date %>
<%=h @event.end_date.to_s(:ocw_date_time_long) if @event.end_date %>
<%=h @event.deadline.to_s(:ocw_date_time_long) %>
<%= @event.accept_selector_votes ? "Yes" : "No" %>
<%= @event.proposal_titles_locked ? "Yes" : "No" %>
<%= @event.show_proposal_confirmation_controls ? "Yes" : "No" %>
<%= @event.proposal_status_published ? "Yes" : "No" %>
<%= @event.schedule_published ? "Yes" : "No" %>
<%= @event.accept_proposal_comments_after_deadline? ? "Yes" : "No" %>
<%= @event.open_text.try(:html_safe) %>
<%= @event.closed_text.try(:html_safe) %>
<%= @event.session_text.try(:html_safe) %>
<%= @event.tracks_text.try(:html_safe) %>
 
<%= link_to 'Show proposals', event_proposals_path(@event), :class => "showable" %> <%= link_to 'Edit', edit_manage_event_path(@event), :class => :editable %> <%= link_to 'Destroy', manage_event_path(@event), :data => { :confirm => "Are you sure?" }, :method => :delete, :class => "deletable" %> <%= link_to 'Back to events', manage_events_path, :class => :cancelable %>