summaryrefslogtreecommitdiff
path: root/app/views/location/_form.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/location/_form.rhtml')
-rw-r--r--app/views/location/_form.rhtml34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/views/location/_form.rhtml b/app/views/location/_form.rhtml
new file mode 100644
index 0000000..c391f62
--- /dev/null
+++ b/app/views/location/_form.rhtml
@@ -0,0 +1,34 @@
+<%= error_messages_for 'location' %>
+
+<!--[form:location]-->
+<p><label for="location_pixel_x">Pixel x</label><br/>
+<%= text_field 'location', 'pixel_x' %></p>
+
+<p><label for="location_pixel_y">Pixel y</label><br/>
+<%= text_field 'location', 'pixel_y' %></p>
+
+<p><label for="location_gps_lon">Gps lon</label><br/>
+<%= text_field 'location', 'gps_lon' %></p>
+
+<p><label for="location_gps_lat">Gps lat</label><br/>
+<%= text_field 'location', 'gps_lat' %></p>
+
+<p><label for="location_name">Name</label><br/>
+<%= text_field 'location', 'name' %></p>
+
+<p><label for="location_street">Street</label><br/>
+<%= text_field 'location', 'street' %></p>
+
+<p><label for="location_number">Number</label><br/>
+<%= text_field 'location', 'number' %></p>
+
+<p><label for="location_creator_ip">Creator ip</label><br/>
+<%= text_field 'location', 'creator_ip' %></p>
+
+<p><label for="location_time">Time</label><br/>
+<%= datetime_select 'location', 'time' %></p>
+
+<p><label for="location_comment">Comment</label><br/>
+<%= text_field 'location', 'comment' %></p>
+<!--[eoform:location]-->
+