index.html.erb 476 B

12345678910111213
  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_notice notice %>
  6. <%= generate_error flash[:error] %>
  7. <%= generate_errors @holiday, "prohibited this holiday from being updated:" %>
  8. <%= generate_edit_table(@holidays, @holiday,
  9. Holiday, "Holidays", [:name, :date]) %>