Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Ilgiz
  5. * Date: 02.02.2019
  6. * Time: 20:04
  7. */
  8. public class Ytuiok{
  9. public function setRoot(){
  10. echo "Make your dreams come true";
  11. }
  12. }
  13.  
  14. @extends('admin.layout')
  15.  
  16. @section('content')
  17. <!-- Content Wrapper. Contains page content -->
  18. <div class="content-wrapper">
  19. <!-- Content Header (Page header) -->
  20. <section class="content-header">
  21. <h1>
  22. Добавить категорию
  23. <small>приятные слова..</small>
  24. </h1>
  25. </section>
  26.  
  27. <!-- Main content -->
  28. <section class="content">
  29.  
  30. <!-- Default box -->
  31. <div class="box">
  32. <div class="box-header with-border">
  33. <h3 class="box-title">Меняем категорию</h3>
  34. @include('admin.errors')
  35. </div>
  36. <div class="box-body">
  37. {{Form::open(['route'=>['categories.update', $category->id], 'method'=>'put'])}}
  38. <div class="col-md-6">
  39. <div class="form-group">
  40. <label for="exampleInputEmail1">Название</label>
  41. <input type="text" class="form-control" id="exampleInputEmail1" name="title" placeholder="" value="{{$category->title}}">
  42. </div>
  43. </div>
  44. </div>
  45. <!-- /.box-body -->
  46. <div class="box-footer">
  47. <a href="{{route('categories.index')}}" class="btn btn-default">Назад</a>
  48. <button class="btn btn-warning pull-right">Изменить</button>
  49. </div>
  50. <!-- /.box-footer-->
  51. {{Form::close()}}
  52. </div>
  53. <!-- /.box -->
  54.  
  55. </section>
  56. <!-- /.content -->
  57. </div>
  58. <!-- /.content-wrapper -->
  59. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement