03.12.2015 Views

laravel4cookbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

File-Based CMS 343<br />

85 type="submit"<br />

86 name="save"<br />

87 class="btn btn-default"<br />

88 value="Save"<br />

89 /><br />

90 <br />

91 @stop<br />

.<br />

This file should be saved as app/views/admin/page/add.blade.php.<br />

1 @extends("admin/layout")<br />

2 @section("navigation/page/class")<br />

3 active<br />

4 @stop<br />

5 @section("content")<br />

6 @include("admin/include/page/navigation")<br />

7 <br />

8 <br />

9 Name<br />

10 <br />

11 {{ $errors->first("name") }}<br />

12 <br />

13 <br />

21 <br />

22 <br />

23 Route<br />

24 <br />

25 {{ $errors->first("route") }}<br />

26 <br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!