forked from ab-rohman/Open-Hack2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.blade.php
61 lines (49 loc) · 2.28 KB
/
index.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@extends('layouts.master')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
@if(Session::has('berhasil'))
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-check"></i> Sukses!</h4>
{{ Session::get('berhasil') }}
</div>
@endif
@if(Session::has('gagal'))
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-ban"></i> Gagal!</h4>
{{ Session::get('gagal') }}
</div>
@endif
<form role="form" method="post" action="{{ url('ppdb') }}" enctype="multipart/form-data">
@csrf
<div class="box-body">
<div class="form-group">
<label for="exampleInputEmail1">Nama Peserta</label>
<input type="text" class="form-control" id="exampleInputEmail1" placeholder="Nama Peserta" name="nama">
</div>
<div class="form-group">
<label for="exampleInputPassword1">NISN</label>
<input type="text" name="nisn" class="form-control" id="exampleInputPassword1" placeholder="NISN">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Email</label>
<input type="email" name="email" class="form-control" id="exampleInputPassword1" placeholder="Email">
</div>
<div class="form-group">
<label for="exampleInputFile">Photo Peserta</label>
<input type="file" name="photo" id="exampleInputFile">
<p class="help-block">Example block-level help text here.</p>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
</div>
</div>
</div>
@endsection