-
Notifications
You must be signed in to change notification settings - Fork 1
/
create.edge
55 lines (53 loc) · 1.94 KB
/
create.edge
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
@layout('layouts.app')
@section('content')
<!-- Page Header -->
<header class="masthead" style="background-image: url('/img/contact-bg.jpg')">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<div class="page-heading">
<h1>New Post</h1>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-md-8 offset-md-2">
<form action="/posts/store" method="POST" encType="multipart/form-data" >
<div class="control-group">
<div class="form-group floating-label-form-group controls">
<label>Username</label>
<input type="text" name="username" placeholder="Username" class="form-control">
</div>
<div class="control-group">
<div class="form-group floating-label-form-group controls">
<label>Title</label>
<input type="text" name="title" placeholder="Title" class="form-control">
</div>
</div>
<div class="control-group">
<div class="form-group floating-label-form-group controls">
<label>Sub-Title</label>
<input type="text" name="subtitle" placeholder="Sub-Title" class="form-control">
</div>
</div>
<div class="control-group">
<div class="form-group floating-label-form-group controls">
<label>Content</label>
<textarea name="content" placeholder="Content ..." cols="30" rows="10" class="form-control"></textarea>
</div>
</div>
<div class="form-group mt-5">
<input type="file" name="image" class="form-control-file">
</div>
<div class="form-group my-4 text-center">
<button class="btn btn-primary">Create Post</button>
</div>
</form>
</div>
</div>
</div>
@endsection