28 lines
989 B
PHP
28 lines
989 B
PHP
@extends('admin.base')
|
|
|
|
@section('title')
|
|
<h1>Create Project</h1>
|
|
@endsection
|
|
|
|
@section('content')
|
|
<form action="{{ route('admin.project.save') }}" enctype="multipart/form-data" class="pure-form pure-form-stacked" method="post">
|
|
@csrf
|
|
<fieldset>
|
|
<h1>Add Project</h1>
|
|
<a class="pure-button button-black-white" href="{{ route('admin.project.index') }}">Back</a>
|
|
|
|
<label for="title">Title</label>
|
|
<input type="text" id="title" name="title" required/>
|
|
|
|
<label for="md">Description</label>
|
|
<textarea id="md" name="md"></textarea>
|
|
|
|
<div class="control">
|
|
<button class="pure-button button-black-white" name="action" id="preview" type="submit" value="preview">Preview</button>
|
|
<button class="pure-button button-black-white" name="action" id="main" type="submit" value="create">Create</button>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
|
|
@endsection
|