Skip to content

Input and textarea

Alexander Grigorev edited this page Apr 26, 2019 · 3 revisions
<div class="form-group{{ hasError('email') }}">
    <label for="email">Email:</label>
    <input class="form-control" name="email" id="email" maxlength="50" value="{{ getInput('email') }}" required>
    <div class="invalid-feedback">{{ textError('email') }}</div>
</div>

<div class="form-group{{ hasError('text') }}">
    <label for="text">Описание:</label>
    <textarea class="form-control markItUp" rows="10" id="text" name="text" required>{{ getInput('text') }}</textarea>
    <div class="invalid-feedback">{{ textError('text') }}</div>
</div>
Clone this wiki locally