Skip to content

Commit 13f732e

Browse files
committed
update templates
1 parent b1af528 commit 13f732e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
1818

1919
<div class="col-md-6">
20-
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email or old('email') }}" required autofocus>
20+
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email ?? old('email') }}" required autofocus>
2121

2222
@if ($errors->has('email'))
2323
<span class="invalid-feedback">

Diff for: src/Illuminate/Mail/resources/views/html/button.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<table border="0" cellpadding="0" cellspacing="0">
88
<tr>
99
<td>
10-
<a href="{{ $url }}" class="button button-{{ $color or 'blue' }}" target="_blank">{{ $slot }}</a>
10+
<a href="{{ $url }}" class="button button-{{ $color ?? 'blue' }}" target="_blank">{{ $slot }}</a>
1111
</td>
1212
</tr>
1313
</table>

Diff for: src/Illuminate/Mail/resources/views/html/layout.blade.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<tr>
2828
<td align="center">
2929
<table class="content" width="100%" cellpadding="0" cellspacing="0">
30-
{{ $header or '' }}
30+
{{ $header ?? '' }}
3131

3232
<!-- Email Body -->
3333
<tr>
@@ -38,14 +38,14 @@
3838
<td class="content-cell">
3939
{{ Illuminate\Mail\Markdown::parse($slot) }}
4040

41-
{{ $subcopy or '' }}
41+
{{ $subcopy ?? '' }}
4242
</td>
4343
</tr>
4444
</table>
4545
</td>
4646
</tr>
4747

48-
{{ $footer or '' }}
48+
{{ $footer ?? '' }}
4949
</table>
5050
</td>
5151
</tr>

0 commit comments

Comments
 (0)