

<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
     <% if @table %>
           <li  class="breadcrumb-item"><a href="<%= edit_settings_zone_table_path(@zone,@settings_dining_facility) %>">Table / Room</a></li>
        <% elsif @room %>
           <li  class="breadcrumb-item"><a href="<%= edit_settings_zone_room_path(@zone,@settings_dining_facility) %>">Table / Room</a></li>
        <% end %>
    <li class="breadcrumb-item active">New</li>
    <span class="float-right">
    <% if @table %>
        <%= link_to t('.back', :default => t("views.btn.back")), edit_settings_zone_table_path(@zone,@settings_dining_facility) %>
          
        <% elsif @room %>
        <%= link_to t('.back', :default => t("views.btn.back")), edit_settings_zone_room_path(@zone,@settings_dining_facility) %>
           
        <% end %>

    </span>
  </ol>
</div>

<%= render 'form', dining_charge: @dining_charge %>