Subject | <%= f.text_field :title, :size => 60 %> |
---|---|
Body | <%= f.text_area :body, :cols => 80 %> |
Location | Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %> use map |
<%= submit_tag 'Save' %> |