Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.master')
- @section('content')
- <div class="row" style="background-color: #fffbc3">
- <div class="col-md-4 col-md-offset-4">
- <h1>Moje Dodawanko</h1>
- @if(count($errors) > 0)
- <div class="alert alert-danger">
- @foreach($errors->all() as $error)
- <p>{{ $error }}</p>
- @endforeach
- </div>
- @endif
- <form action="{{ route('user.dodawanie') }}" method="post">
- <div class="form-group">
- <label for="imagePath">imagePath</label>
- <input type="text" id="imagePath" name="imagePath" class="form-control">
- </div>
- <div class="form-group">
- <label for="password">title</label>
- <input type="text" id="title" name="title" class="form-control">
- </div>
- <div class="form-group">
- <label for="description">description</label>
- <input type="text" id="description" name="description" class="form-control">
- </div>
- <div class="form-group">
- <label for="price">price</label>
- <input type="text" id="price" name="price" class="form-control">
- </div>
- <button type="submit" class="btn btn-primary">Dodawanko</button>
- {{ csrf_field() }}
- </form>
- </div>
- </div>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement