03.12.2015 Views

laravel4cookbook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

File-Based CMS 340<br />

11 <br />

12 File<br />

13 <br />

14 <br />

15 Actions<br />

16 <br />

17 <br />

18 <br />

19 <br />

20 @foreach ($pages as $page)<br />

21 @if ($page["type"] == "file")<br />

22 <br />

23 <br />

24 <br />

25 {{ $page["basename"] }}<br />

26 <br />

27 <br />

28 <br />

29 <br />

30 <br />

31 <br />

32 <br />

33 <br />

34 <br />

35 <br />

36 <br />

37 @endif<br />

38 @endforeach<br />

39 <br />

40 <br />

41 @else<br />

42 No pages yet.<br />

43 <br />

44 create one now!<br />

45 <br />

46 @endif<br />

47 @stop<br />

.<br />

This file should be saved as app/views/admin/page/index.blade.php.

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

Saved successfully!

Ooh no, something went wrong!