summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/index.erb36
1 files changed, 18 insertions, 18 deletions
diff --git a/views/index.erb b/views/index.erb
index 51ec288..1a63651 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -6,51 +6,51 @@
<h3>Generell info:</h3>
<div class="field text required">
- <label>Bandnavn:</label>
- <input type="text" name="band[name]">
+ <label for="band_name">Bandnavn:</label>
+ <input type="text" id="band_name" name="band[name]">
</div>
<div class="field text optional">
- <label>Hjemsted:</label>
- <input type="text" name="band[city]">
+ <label for="band_city">Hjemsted:</label>
+ <input type="text" id="band_city" name="band[city]">
</div>
<div class="field text optional">
- <label>Webside:</label>
- <input type="text" name="band[website]">
+ <label for="band_website">Webside:</label>
+ <input type="text" id="band_website" name="band[website]">
</div>
<div class="field text optional">
- <label>Plateselskap:</label>
- <input type="text" name="band[label]">
+ <label for="band_label">Plateselskap:</label>
+ <input type="text" id="band_label" name="band[label]">
</div>
<div class="field text required">
- <label>Kort bio:</label>
- <textarea cols="40" rows="5" name="band[shortbio]"></textarea>
+ <label for="band_shortbio">Kort bio:</label>
+ <textarea cols="40" rows="5" id="band_shortbio" name="band[shortbio]"></textarea>
</div>
</div>
<div id="form-contact-info" class="fieldgroup">
<h3>Kontaktperson</h3>
<div class="field text required">
- <label>Navn:</label>
- <input type="text" name="band[contact][name]">
+ <label for="band-contact-name">Navn:</label>
+ <input type="text" id="band-contact-name" name="band[contact][name]">
</div>
<div class="field textarea required">
- <label>Postadresse:</label>
- <textarea cols="40" rows="4" name="band[contact][addr]"></textarea>
+ <label for="band-contact-addr">Postadresse:</label>
+ <textarea cols="40" rows="4" id="band-contact-addr" name="band[contact][addr]"></textarea>
</div>
<div class="field text required">
- <label>Tlf:</label>
- <input type="text" name="band[contact][phone]">
+ <label for="band-contact-phone">Tlf:</label>
+ <input type="text" id="band-contact-phone" name="band[contact][phone]">
</div>
<div class="field text required">
- <label>E-post:</label>
- <input type="text" name="band[contact][email]">
+ <label for="band-contact-email">E-post:</label>
+ <input type="text" id="band-contact-email" name="band[contact][email]">
</div>
</div>