pixelfed/resources/views/settings/password.blade.php

67 lines
2 KiB
PHP
Raw Normal View History

2021-11-06 03:51:52 +00:00
@extends('layouts.app')
2018-05-26 22:40:39 +00:00
2021-11-06 03:51:52 +00:00
@section('content')
@if (session('status'))
<div class="alert alert-primary px-3 h6 text-center">
{{ session('status') }}
2018-05-26 22:40:39 +00:00
</div>
2021-11-06 03:51:52 +00:00
@endif
@if ($errors->any())
<div class="alert alert-danger px-3 h6 text-center">
@foreach($errors->all() as $error)
2022-05-14 09:59:00 +00:00
<p class="font-weight-bold mb-1">{{ $error }}</p>
2021-11-06 03:51:52 +00:00
@endforeach
2018-05-26 22:40:39 +00:00
</div>
2021-11-06 03:51:52 +00:00
@endif
@if (session('error'))
<div class="alert alert-danger px-3 h6 text-center">
{{ session('error') }}
2018-05-26 22:40:39 +00:00
</div>
2021-11-06 03:51:52 +00:00
@endif
<div class="container">
<div class="col-12">
<div class="card shadow-none border mt-5">
<div class="card-body">
<div class="row">
<div class="col-12 p-3 p-md-5">
<div class="title">
<h3 class="font-weight-bold">Update Password</h3>
</div>
<hr>
<form method="post">
@csrf
<div class="form-group row">
<label for="existing" class="col-sm-3 col-form-label font-weight-bold">Current</label>
<div class="col-sm-9">
<input type="password" class="form-control" name="current" placeholder="Your current password">
</div>
</div>
<hr>
<div class="form-group row">
<label for="new" class="col-sm-3 col-form-label font-weight-bold">New</label>
<div class="col-sm-9">
<input type="password" class="form-control" name="password" placeholder="Enter new password here">
</div>
</div>
<div class="form-group row">
<label for="confirm" class="col-sm-3 col-form-label font-weight-bold">Confirm</label>
<div class="col-sm-9">
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm new password">
</div>
</div>
<div class="form-group row">
<div class="col-12 text-right">
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
</div>
</div>
</form>
</div>
</div>
2018-05-26 22:40:39 +00:00
</div>
</div>
2021-11-06 03:51:52 +00:00
</div>
</div>
2018-05-26 22:40:39 +00:00
2021-11-06 03:51:52 +00:00
@endsection