first commit
This commit is contained in:
55
resources/views/screeningLotteryRegQuery.blade.php
Normal file
55
resources/views/screeningLotteryRegQuery.blade.php
Normal file
@ -0,0 +1,55 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8 main-area">
|
||||
|
||||
<h1 style="text-align: center;">健健登記站</h1>
|
||||
<h3 style="text-align: center;"><hr style="width:2em; display: inline-block"></h3>
|
||||
<h2 style="text-align: center;">登記查詢</h2>
|
||||
|
||||
<form method="POST" action="?">
|
||||
@csrf
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<label for="regIdNumber" class="form-label">身份證字號</label>
|
||||
<input type="text" class="form-control" id="regIdNumber" name="id_number" required value="">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">查詢</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($errors->any())
|
||||
<div class="text-left mt-3 alert alert-block alert-danger">
|
||||
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
@if ($message = Session::get('success'))
|
||||
<div class="text-left mt-3 alert alert-block alert-success ">
|
||||
<p>您已登記的查詢如下:</p>
|
||||
<ul>
|
||||
@foreach ($message as $item)
|
||||
<li><strong>{{ $item->name }}</strong></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</form>
|
||||
|
||||
<p> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
Reference in New Issue
Block a user