This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/breweries/_brewery_form.rhtml

23 lines
806 B
Plaintext

<p>
<label for="brewery_title">Title</label> <%= text_field 'brewery', 'title' %>
</p>
<p>
<label for="brewery_homepage">Homepage</label> <%= text_field 'brewery', 'homepage' %>
</p>
<p>
<label for="brewery_address_1">Address</label> <%= text_field 'brewery', 'address_1' %><br /><%= text_field 'brewery', 'address_2' %>
</p>
<p>
<label for="brewery_city">City</label> <%= text_field 'brewery', 'city' %>
</p>
<p>
<label for="brewery_state">State</label> <%= text_field 'brewery', 'state' %>
</p>
<p>
<label for="brewery_postal_code">Postal Code</label> <%= text_field 'brewery', 'postal_code' %>
</p>
<p>
<label for="brewery_county">Country</label> <%= country_select 'brewery', 'country', [ 'United States', 'United Kingdom', 'Germany' ] %>
</p>
<%= render :partial => 'pages/page_form' %>