summaryrefslogtreecommitdiffstats
path: root/views/index.erb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-06 19:24:28 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-10-06 19:24:28 +0200
commitf519e2eaa5cc4fb04262642aca936bc7b826c893 (patch)
tree5447b5367b155466de88ccdebd676ce90fbe89b6 /views/index.erb
parent15a7e9d92a392ddb02968e60039c0b88416e05d7 (diff)
downloadnorsk-urskog-registrations-f519e2eaa5cc4fb04262642aca936bc7b826c893.tar.gz
norsk-urskog-registrations-f519e2eaa5cc4fb04262642aca936bc7b826c893.tar.bz2
norsk-urskog-registrations-f519e2eaa5cc4fb04262642aca936bc7b826c893.zip
Test entering the form including javascript stuff.
Diffstat (limited to 'views/index.erb')
-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>