Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- form do |f|
- f.inputs do
- f.input :name, required: true
- f.input :servesCuisine
- f.input :description
- f.input :currenciesAccepted, as: :select, collection:Restaurant.available_currencies
- f.input :priceRange, as: :select, collection: Restaurant.price_range
- f.input :paymentAccepted
- f.input :email, as: :email
- f.input :telephone, as: :phone
- f.input :faxNumber, as: :phone
- f.input :longitude
- f.input :latitude
- f.input :image, as: :file
- end
- f.actions
- end
- f.input :servesCuisine, as: :string
- f.input :description, as: :string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement