# == Schema Information
#
# Table name: nizza_hotels
#
#  id            :integer          not null, primary key
#  name          :string
#  full_name     :string
#  hotel_type_id :integer
#  description   :text
#  distance      :integer
#  phone         :string
#  email         :string
#  website       :string
#  opened        :date
#  stars         :integer
#  points        :integer
#  vip           :boolean
#  disabled      :boolean
#  position      :integer
#  created_at    :datetime         not null
#  updated_at    :datetime         not null
#  rating        :decimal(4, 2)    default(0.0)
#  closed        :date
#

module Nizza
  module HotelsHelper
    def description_classes(new_record_flag)
      if new_record_flag
        "col-lg-8 col-md-6"
      else
        "col-lg-4 col-md-6"
      end
    end
  end
end
