_nav.html.erb 392 B

12345
  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: "#{@tou_schedule.name}", destination_path: tou_schedule_path(@tou_schedule) %>
  4. <%= render 'subnav_item', link_text: 'Season Settings', destination_path: tou_schedule_seasons_path(@tou_schedule) %>
  5. <% end %>