diff --git a/resources/views/solution/index.blade.php b/resources/views/solution/index.blade.php index 7a1b0e7e3..0081733e1 100644 --- a/resources/views/solution/index.blade.php +++ b/resources/views/solution/index.blade.php @@ -12,21 +12,32 @@

{{ __('views.solution.index.header.h1') }}

-
- {{ Form::open(['url' => route('solutions.index'), 'method' => 'GET', 'class' => 'form-inline']) }} -
- {{ __('views.solution.index.filter.user') }} - {{ Form::input('text', 'filter[user.name]', array_get($filter, 'user.name', null), ['placeholder' => __('views.solution.index.filter.user'), 'class' => 'form-control']) }} - {{ __('views.solution.index.filter.exercise') }} - {{ Form::select('filter[exercise_id]', $exerciseTitles, array_get($filter, 'exercise_id', null), ['placeholder' => __('views.solution.index.filter.exercise'), 'class' => 'form-control']) }} - {{ Form::submit(__('views.solution.index.filter.apply_button'), ['class' => 'btn btn-outline-primary']) }} - - {{ __('views.solution.index.filter.reset_button') }} - + {{ html()->form('GET', route('solutions.index'))->class('my-3 row row-cols-lg-auto g-3 align-items-center')->open() }} +
+
+
{{ __('views.solution.index.filter.user') }}
+ {{ html()->text('filter[user.name]') + ->value(array_get($filter, 'user.name', null)) + ->placeholder(__('views.solution.index.filter.user'))->class('form-control') }} +
- - {{ Form::close() }} -
+
+
+
{{ __('views.solution.index.filter.exercise') }}
+ {{ html()->select('filter[exercise_id]', $exerciseTitles) + ->value(array_get($filter, 'exercise_id', null)) + ->placeholder(__('views.solution.index.filter.exercise'))->class('form-control') }} +
+
+
+ {{ html()->submit(__('views.solution.index.filter.apply_button')) + ->class('btn btn-outline-primary') }} +
+
+ {{ html()->a(route('solutions.index'), __('views.solution.index.filter.reset_button')) + ->class('btn btn-outline-secondary ml-3') }} +
+ {{ html()->form()->close() }}