Sha256: 2c9f01375acc4c94723746b1ef3e766fabdf22ac4717cec11ff7e5705ebab645

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

ActiveAdmin.register Property do
  index do
    column :name
    column :address
    column :for_rent
    column :for_sale
    default_actions
  end
  
  show do |product|
    attributes_table_with_images do
      row :name
      row :url_name
      row :description
      row :neighborhood
      row :latitude
      row :longitude
      row :address
      row :public_address
      row :covered_square_meters
      row :uncovered_square_meters
      row :rooms
      row :bathrooms
      row :amenities
      row :keywords
      row :for_rent
      row :for_sale
    end
  end
  
  form_with_images do |f|
    f.input :name
    f.input :url_name
    f.input :description
    f.input :neighborhood
    f.input :latitude
    f.input :longitude
    f.input :address
    f.input :public_address
    f.input :covered_square_meters
    f.input :uncovered_square_meters
    f.input :rooms
    f.input :bathrooms
    f.input :amenities
    f.input :keywords
    f.input :for_rent
    f.input :for_sale
  end
end                                   

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nubis_rails_boilerplate-0.0.11 skeletons/real_estate_app/app/admin/property.rb
nubis_rails_boilerplate-0.0.10 skeletons/real_estate_app/app/admin/property.rb
nubis_rails_boilerplate-0.0.9 skeletons/real_estate_app/app/admin/property.rb
nubis_rails_boilerplate-0.0.8 skeletons/real_estate_app/app/admin/property.rb
nubis_rails_boilerplate-0.0.7 skeletons/real_estate_app/app/admin/property.rb