Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should this work in the show block? #10

Open
chrisbloom7 opened this issue Nov 14, 2013 · 1 comment
Open

Should this work in the show block? #10

chrisbloom7 opened this issue Nov 14, 2013 · 1 comment

Comments

@chrisbloom7
Copy link

I'd like to only show the map on the show view, but have text fields for the edit view. Should this work? (It currently doesn't)

class Location < ActiveRecord::Base
  has_and_belongs_to_many :materials

  rails_admin do
    show do
      field :latitude, :map 
    end
  end
end
@alemata
Copy link

alemata commented Oct 28, 2014

@beyondthestory any update on this? Does not work for me neither

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants