Skip to content

Commit 307e713

Browse files
Merge pull request #8 from glhd/summary-styling
Summary Styling
2 parents e313df7 + e7807b8 commit 307e713

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/AireBootstrapServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function boot()
4040
'radio_group' => 'custom-control-input',
4141
'radio_group_label' => 'custom-control-label',
4242
'radio_group_label_wrapper' => 'custom-control custom-radio',
43-
'summary' => '',
43+
'summary' => 'alert alert-warning',
4444
'button' => 'btn btn-primary',
4545
'select' => 'form-control',
4646
'textarea' => 'form-control',

views/summary.blade.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<?php /** @var \Illuminate\Support\ViewErrorBag $errors */ ?>
33

44
@if (isset($errors) && $errors->any())
5-
5+
66
<div {{ $attributes }}>
7-
7+
88
{{ trans_choice('aire::common.summary', $errors->count()) }}
9-
9+
1010
@if($verbose)
11-
12-
<ul class="pt-4">
11+
12+
<ul class="pt-1">
1313
@foreach ($errors->all() as $error)
1414
<li>{{ $error }}</li>
1515
@endforeach
1616
</ul>
17-
17+
1818
@endif
19-
19+
2020
</div>
21-
21+
2222
@endif

0 commit comments

Comments
 (0)