mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:48:28 +08:00
Make reset password form look slightly nicer
(Still needs a proper makeover!)
This commit is contained in:
parent
0e20949eb0
commit
4b8eb5d6e4
|
@ -9,29 +9,29 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{ $translator->trans('core.views.reset.title') }}</h1>
|
||||
<h2>{{ $translator->trans('core.views.reset.title') }}</h2>
|
||||
|
||||
@if (! empty($error))
|
||||
<p>{{ $error }}</p>
|
||||
<p style="color:red">{{ $error }}</p>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ app('Flarum\Forum\UrlGenerator')->toRoute('savePassword') }}">
|
||||
<input type="hidden" name="csrfToken" value="{{ $csrfToken }}">
|
||||
<input type="hidden" name="passwordToken" value="{{ $passwordToken }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">{{ $translator->trans('core.views.reset.password_label') }}</label>
|
||||
<p class="form-group">
|
||||
<label class="control-label">{{ $translator->trans('core.views.reset.password_label') }}</label><br>
|
||||
<input type="password" class="form-control" name="password">
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">{{ $translator->trans('core.views.reset.confirm_password_label') }}</label>
|
||||
<p class="form-group">
|
||||
<label class="control-label">{{ $translator->trans('core.views.reset.confirm_password_label') }}</label><br>
|
||||
<input type="password" class="form-control" name="password_confirmation">
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="form-group">
|
||||
<p class="form-group">
|
||||
<button type="submit" class="btn btn-primary">{{ $translator->trans('core.views.reset.submit_button') }}</button>
|
||||
</div>
|
||||
</p>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user