]> BookStack Code Mirror - bookstack/blobdiff - resources/views/shelves/create.blade.php
System CLI: Updated to 126de5599c state
[bookstack] / resources / views / shelves / create.blade.php
index 32e40a4ae5271e51788e3c554eafa8947f43e6d8..95b45906862b60fb5f4390d2ab6035fbac696b3b 100644 (file)
@@ -1,31 +1,29 @@
-@extends('simple-layout')
-
-@section('toolbar')
-    <div class="col-sm-8 faded">
-        <div class="breadcrumbs">
-            <a href="{{ baseUrl('/shelves') }}" class="text-button">@icon('bookshelf'){{ trans('entities.shelves') }}</a>
-            <span class="sep">&raquo;</span>
-            <a href="{{ baseUrl('/create-shelf') }}" class="text-button">@icon('add'){{ trans('entities.shelves_create') }}</a>
-        </div>
-    </div>
-@stop
+@extends('layouts.simple')
 
 @section('body')
 
     <div class="container small">
-        <p>&nbsp;</p>
-        <div class="card">
-            <h3>@icon('add') {{ trans('entities.shelves_create') }}</h3>
-            <div class="body">
-                <form action="{{ baseUrl("/shelves") }}" method="POST" enctype="multipart/form-data">
-                    @include('shelves/form', ['shelf' => null, 'books' => $books])
-                </form>
-            </div>
+
+        <div class="my-s">
+            @include('entities.breadcrumbs', ['crumbs' => [
+                '/shelves' => [
+                    'text' => trans('entities.shelves'),
+                    'icon' => 'bookshelf',
+                ],
+                '/create-shelf' => [
+                    'text' => trans('entities.shelves_create'),
+                    'icon' => 'add',
+                ]
+            ]])
         </div>
-    </div>
 
-    <p class="margin-top large"><br></p>
+        <main class="card content-wrap">
+            <h1 class="list-heading">{{ trans('entities.shelves_create') }}</h1>
+            <form action="{{ url("/shelves") }}" method="POST" enctype="multipart/form-data">
+                @include('shelves.parts.form', ['shelf' => null, 'books' => $books])
+            </form>
+        </main>
 
-    @include('components.image-manager', ['imageType' => 'cover'])
+    </div>
 
 @stop
\ No newline at end of file