Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Created by PhpStorm.
- * User: Ilgiz
- * Date: 02.02.2019
- * Time: 20:04
- */
- public class Ytuiok{
- public function setRoot(){
- echo "Make your dreams come true";
- }
- }
- @extends('admin.layout')
- @section('content')
- <!-- Content Wrapper. Contains page content -->
- <div class="content-wrapper">
- <!-- Content Header (Page header) -->
- <section class="content-header">
- <h1>
- Добавить категорию
- <small>приятные слова..</small>
- </h1>
- </section>
- <!-- Main content -->
- <section class="content">
- <!-- Default box -->
- <div class="box">
- <div class="box-header with-border">
- <h3 class="box-title">Меняем категорию</h3>
- @include('admin.errors')
- </div>
- <div class="box-body">
- {{Form::open(['route'=>['categories.update', $category->id], 'method'=>'put'])}}
- <div class="col-md-6">
- <div class="form-group">
- <label for="exampleInputEmail1">Название</label>
- <input type="text" class="form-control" id="exampleInputEmail1" name="title" placeholder="" value="{{$category->title}}">
- </div>
- </div>
- </div>
- <!-- /.box-body -->
- <div class="box-footer">
- <a href="{{route('categories.index')}}" class="btn btn-default">Назад</a>
- <button class="btn btn-warning pull-right">Изменить</button>
- </div>
- <!-- /.box-footer-->
- {{Form::close()}}
- </div>
- <!-- /.box -->
- </section>
- <!-- /.content -->
- </div>
- <!-- /.content-wrapper -->
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement