index.html.erb 502 B

123456789101112
  1. <% content_for :subnav_items do %>
  2. <%= render 'subnav_item', link_text: 'Time of Use Schedules', destination_path: tou_schedules_path %>
  3. <%= render 'subnav_item', link_text: 'Holidays', destination_path: holidays_path %>
  4. <% end %>
  5. <%= generate_error flash[:error] %>
  6. <%= generate_notice flash[:notice] %>
  7. <%= generate_list(@tou_schedules, TouSchedule, "TOU Schedules",
  8. [:name, :is_active],
  9. new_tou_schedule_path,
  10. "Create TOU Schedule") %>