Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.54 KB | None | 0 0
  1. @extends('layouts.master')
  2.  
  3. @section('content')
  4.     <div class="row" style="background-color: #fffbc3">
  5.         <div class="col-md-4 col-md-offset-4">
  6.             <h1>Moje Dodawanko</h1>
  7.             @if(count($errors) > 0)
  8.                 <div class="alert alert-danger">
  9.                     @foreach($errors->all() as $error)
  10.                         <p>{{ $error }}</p>
  11.                     @endforeach
  12.                 </div>
  13.             @endif
  14.             <form action="{{ route('user.dodawanie') }}" method="post">
  15.                 <div class="form-group">
  16.                     <label for="imagePath">imagePath</label>
  17.                     <input type="text" id="imagePath" name="imagePath" class="form-control">
  18.                 </div>
  19.                 <div class="form-group">
  20.                     <label for="password">title</label>
  21.                     <input type="text" id="title" name="title" class="form-control">
  22.                 </div>
  23.                 <div class="form-group">
  24.                     <label for="description">description</label>
  25.                     <input type="text" id="description" name="description" class="form-control">
  26.                 </div>
  27.                 <div class="form-group">
  28.                     <label for="price">price</label>
  29.                     <input type="text" id="price" name="price" class="form-control">
  30.                 </div>
  31.                 <button type="submit" class="btn btn-primary">Dodawanko</button>
  32.                 {{ csrf_field() }}
  33.             </form>
  34.         </div>
  35.     </div>
  36. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement