Advertisement
fakhrycodepolitan

create.blade.php

Sep 16th, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.27 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7.     <title>Blog | Buat Postingan</title>
  8.     <!-- CSS ONLY -->
  9.     <link href="{{ asset('bootstrap-5/css/bootstrap.min.css') }}" rel="stylesheet"
  10.         integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
  11. </head>
  12. <body>
  13.     <h1>Buat Postingan Baru</h1>
  14.     <form method="POST" action="{{ url('post') }}" class="form-control">
  15.         <div class="mb-3">
  16.             <label for="title" class="form-label">Judul</label>
  17.             <input type="text" class="form-control" id="title" name="title">
  18.           </div>
  19.           <div class="mb-3">
  20.             <label for="content" class="form-label">konten</label>
  21.             <textarea class="form-control" id="content" name="content" rows="3"></textarea>
  22.           </div>
  23.           <button type="submit" class="btn btn-primary">Post</button>
  24.     </form>
  25.     <script src="{{ asset ('bootstrap-5/js/bootstrap.bundle.min.js') }}"
  26.             integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
  27. </body>
  28. </html>
  29.  
Tags: laravel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement