summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/index.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/index.erb b/views/index.erb
index fceb73b..72feb28 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -27,7 +27,7 @@
<input type="text" id="band_label" name="band[label]" value="<%= @band.label %>">
</div>
- <div class="field text required">
+ <div class="field textarea required">
<label for="band_shortbio">Kort bio:</label>
<textarea id="band_shortbio" name="band[shortbio]"><%= @band.short_bio %></textarea>
<div class="help">
@@ -60,14 +60,15 @@
value="<%= @band.contact.street %>">
</div>
- <div class="field text required">
+ <div class="field text required postcode">
<label for="band-contact-postcode">Postnr:</label>
<input type="text" id="band-contact-postcode"
+ pattern="\d{4}" maxlength="4"
name="band[contact][postcode]"
value="<%= @band.contact.postcode %>">
</div>
- <div class="field text required">
+ <div class="field text required city">
<label for="band-contact-city">Sted:</label>
<input type="text" id="band-contact-city"
name="band[contact][city]"