aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/edit.html.erb
blob: fa61a0a02ea05472bc80155f9e3a77592f6aed37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%= form_with model: @resource, local: true do |f| %>
    <%= f.label :name %>
    <%= f.text_field :name, value: @resource.name %>


        <%= tag.legend "Geographic Position" %>
        <%= f.label :longitude %>
        <%= f.text_field :longitude, value: @resource.lon %>
        <%= f.label :latitude %>
        <%= f.text_field :latitude, value: @resource.lat %>



    <%= f.submit 'Save' %>
<% end %>