.container .row .col-lg-12.col-md-12.col-sm-12.col-xs-12 %h3.text-center Hotel Sultan Club Prices %hr = link_to 'Add New hotel sultan club price', new_hotel_sultan_club_price_path, class: 'btn btn-success btn-block btn-lg', data: { 'no-turbolink'=>true} %hr .col-lg-3.col-md-3.col-sm-12.col-xs-12 =render 'layouts/admin/side_menu' .col-lg-9.col-md-9.col-sm-12.col-xs-12 .center %b = "Apartment Prices" %table.table.table-striped.table-bordered.table-hover{:width => "825", :style => "table-layout: fixed; width: 100%;"} %tr %th{:width => "220", :style => "width: 220px;"} Config %th{:width => "120", :style => "width: 120px;"} date from %th{:width => "120", :style => "width: 120px;"} date to %th{:width => "120", :style => "width: 120px;"} price 1 %th{:width => "120", :style => "width: 120px;"} price 2 - @hotel_sultan_club_prices_apartments.each do |hotel_sultan_club_prices| %tr#tr-accommodation %td{:width => "220", :style => "width: 220px;"} .center = link_to 'Show', hotel_sultan_club_prices, class: 'btn btn-primary' = link_to 'Edit', edit_hotel_sultan_club_price_path(hotel_sultan_club_prices), class: 'btn btn-warning', data: { 'no-turbolink'=>true} = link_to 'Destroy', hotel_sultan_club_prices, :method => :delete, :data => { confirm: 'Are you sure?' }, class: 'btn btn-danger' %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} - if hotel_sultan_club_prices.date_all == true = "All Dates" - else = hotel_sultan_club_prices.date_from.to_fs %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} - if hotel_sultan_club_prices.date_all == true = "All Dates" - else = hotel_sultan_club_prices.date_to.to_fs %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} = hotel_sultan_club_prices.price_one %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} = hotel_sultan_club_prices.price_two %tr %td{:colspan => "5"} = raw(hotel_sultan_club_prices.tab_description_en) %hr .center %b = "Supplement Prices" %table.table.table-striped.table-bordered.table-hover{:width => "825", :style => "table-layout: fixed; width: 100%;"} %tr %th{:width => "220", :style => "width: 220px;"} Config %th{:width => "605", :style => "width: 120px;"} date from %th{:width => "605", :style => "width: 120px;"} date to %th{:width => "605", :style => "width: 120px;"} price 1 %th{:width => "605", :style => "width: 120px;"} price 2 - @hotel_sultan_club_prices_supplements.each do |hotel_sultan_club_prices| %tr#tr-accommodation %td{:width => "220", :style => "width: 220px;"} .center = link_to 'Show', hotel_sultan_club_prices, class: 'btn btn-primary' = link_to 'Edit', edit_hotel_sultan_club_price_path(hotel_sultan_club_prices), class: 'btn btn-warning', data: { 'no-turbolink'=>true} = link_to 'Destroy', hotel_sultan_club_prices, :method => :delete, :data => { confirm: 'Are you sure?' }, class: 'btn btn-danger' %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} - if hotel_sultan_club_prices.date_all == true = "All Dates" - else = hotel_sultan_club_prices.date_from.to_fs %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} - if hotel_sultan_club_prices.date_all == true = "All Dates" - else = hotel_sultan_club_prices.date_to.to_fs %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} = hotel_sultan_club_prices.price_one %td{:width => "605", :style => "width: 120px; word-wrap:break-word;"} = hotel_sultan_club_prices.price_two %tr %td{:colspan => "5"} = raw(hotel_sultan_club_prices.tab_description_en)