fix for adding attendance notes

This commit is contained in:
s416422 2019-12-19 10:16:48 +01:00
parent 494b04277e
commit 8bd2e03bc8

View File

@ -30,8 +30,8 @@
@error('classes_id')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
@ -44,8 +44,8 @@
@error('student_id')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
@ -58,8 +58,8 @@
@error('student_name')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
@ -72,8 +72,8 @@
@error('student_surname')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
@ -82,12 +82,26 @@
<label for="seat_number" class="col-md-4 col-form-label text-md-right">{{ __('Nr miejsca') }}</label>
<div class="col-md-6">
<input id="seat_number" type="number" class="form-control @error('seat_number') is-invalid @enderror" name="seat_number" value="{{ old('seat_number') }}" required autocomplete="seat_number" autofocus>
<input id="seat_number" type="number" class="form-control @error('seat_number') is-invalid @enderror" name="seat_number" value="{{ old('seat_number') }}" required autocomplete="seat_number">
@error('seat_number')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
<div class="form-group row">
<label for="note" class="col-md-4 col-form-label text-md-right">{{ __('Notatka') }}</label>
<div class="col-md-6">
<textarea id="note" class="form-control" name="note"></textarea>
@error('note')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>