Proper form HTML layout

This commit is contained in:
Leonhard Strohmidel 2020-07-31 13:14:45 +02:00
parent 87cc27bcc8
commit 1c295e92f4
4 changed files with 16 additions and 1 deletions

View File

@ -2,3 +2,4 @@
@import 'textSection/textSection';
@import 'place/place';
@import 'securityMeasureList/securityMeasureList';
@import 'form/form';

View File

View File

@ -0,0 +1,14 @@
<form class="LP-Form">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">Basic data</legend>
<div class="LP-Form__Row">
<span class="LP-Form__Field">
<label for="textinput123" class="LP-Input__Label">Enter your text here</label>
<input id="textinput123" type="text" class="LP-Input__Text"/>
<span class="LP-Input__ErrorMessage">
<p>Text is required</p>
</span>
</span>
</div>
</fieldset>
</form>