summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/index.erb22
1 files changed, 19 insertions, 3 deletions
diff --git a/views/index.erb b/views/index.erb
index d38d5a6..fceb73b 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -53,9 +53,25 @@
<input type="text" id="band-contact-name" name="band[contact][name]" value="<%= @band.contact.name %>">
</div>
- <div class="field textarea required">
- <label for="band-contact-addr">Postadresse:</label>
- <textarea id="band-contact-addr" name="band[contact][addr]"><%= @band.contact.addr %></textarea>
+ <div class="field text">
+ <label for="band-contact-street">Adresse:</label>
+ <input type="text" id="band-contact-street"
+ name="band[contact][street]"
+ value="<%= @band.contact.street %>">
+ </div>
+
+ <div class="field text required">
+ <label for="band-contact-postcode">Postnr:</label>
+ <input type="text" id="band-contact-postcode"
+ name="band[contact][postcode]"
+ value="<%= @band.contact.postcode %>">
+ </div>
+
+ <div class="field text required">
+ <label for="band-contact-city">Sted:</label>
+ <input type="text" id="band-contact-city"
+ name="band[contact][city]"
+ value="<%= @band.contact.city %>">
</div>
<div class="field text required">