@extends('admin.base')

@section('title')
    <h1>Create Now</h1>
@endsection

@section('content')
    <article>
        <form class="pure-form pure-form-stacked" action="{{ route('admin.now.save') }}" method="post">
            @csrf
            <fieldset>
                <h1>Create Now</h1>
                <a class="pure-button button-black-white" href="{{ route('admin.now.index') }}">Back</a>

                <label for="md">Content</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>
    </article>
@endsection
