Actually mashing maps now, but not handling form post-back or making it pretty
This commit is contained in:
@@ -4,16 +4,14 @@
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p>
|
||||
<%= f.label :requester %><br />
|
||||
<%= f.text_field :requester %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :map_a %><br />
|
||||
<%= f.text_field :map_a %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :map_b %><br />
|
||||
<%= f.text_field :map_b %>
|
||||
<div id="map_a">
|
||||
<%= f.label :map_a %><br />
|
||||
<image src="<%= url_for @map_a %>.png" />
|
||||
</div>
|
||||
<div id="map_b">
|
||||
<%= f.label :map_b %><br />
|
||||
<image src="<%= url_for @map_b %>.png" />
|
||||
</div>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :winner %><br />
|
||||
@@ -24,4 +22,4 @@
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= link_to 'Back', mashes_path %>
|
||||
<%= link_to 'Back', mashes_path %>
|
||||
|
Reference in New Issue
Block a user