2020-01-17 17:10:54 +01:00
|
|
|
<div class="modal fade" id="noteModal-{{ $attendance->id }}" tabindex="-1" role="dialog" aria-labelledby="noteModal-{{ $attendance->id }}" aria-hidden="true">
|
2019-12-20 01:11:51 +01:00
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
2019-12-19 00:10:39 +01:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2020-01-17 17:10:54 +01:00
|
|
|
<h5>{{ $attendance->student_name }} {{ $attendance->student_surname }} ({{ $attendance->student_id_number }})</h5>
|
2019-12-19 00:10:39 +01:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form method="POST" action="{{ route('user_add_attendance_note') }}">
|
|
|
|
@csrf
|
|
|
|
|
2020-03-06 18:33:03 +01:00
|
|
|
<input type="hidden" class="form-control" name="attendance_id" value="{{ $attendance->id }}" required>
|
2020-01-17 17:10:54 +01:00
|
|
|
<input type="hidden" id="note_content_hidden-{{ $attendance->id }}" name="note_content_hidden" value="{{ $attendance->notes }}">
|
2019-12-19 00:10:39 +01:00
|
|
|
<div class="form-group">
|
2020-01-17 17:10:54 +01:00
|
|
|
<label for="note_content-{{ $attendance->id }}" class="col-form-label">Treść notatki:</label>
|
|
|
|
<textarea class="form-control" id="note_content-{{ $attendance->id }}" name="note_content">{{ $attendance->notes }}</textarea>
|
2019-12-19 00:10:39 +01:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2019-12-20 14:09:16 +01:00
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal" title="Anuluj"> Anuluj </button>
|
|
|
|
<button type="submit" class="btn btn-primary" title="Zapisz notatkę"> Zapisz </button>
|
2019-12-19 00:10:39 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|