khirulnizam

Tutorial ubah template Laravel welcome.blade.php

Jun 10th, 2018
208
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- welcome.blade.php -->
  2. <!-- Tutorial ubah template Laravel, ada di sini http://fstm.kuis.edu.my/blog/laravel3/ -->
  3. @extends('layouts.generic')
  4.  
  5. @section('content')
  6.     <div class="col-sm-3 col-md-9">
  7.         <img src="{{ asset('images/bannerfstm.jpg')}}" width="100%">
  8.         <br>
  9.         Faculty of Information & Science Technology<br>
  10.    </div>
  11.    <div class="col-sm-3 col-md-3">
  12.            <form method="post" action="{{ route('login') }}">
  13.                @csrf
  14.                <div class="form-group">
  15.                    <label for="usr">Email:</label>
  16.                    <input type="text" class="form-control" name="email">
  17.                </div>
  18.                <div class="form-group">
  19.                    <label for="pwd">Password:</label>
  20.                    <input type="password" class="form-control" name="password">
  21.                </div>
  22.                <button type="submit" class="btn btn-info"> Login </button>
  23.            </form>
  24.    </div>
  25. @endsection
RAW Paste Data