planeForm.blade.php 966 B

123456789101112131415161718192021
  1. @extends("base")
  2. @section("content")
  3. <form action="/plane/create/" method="post">
  4. <div class="form-group">
  5. <label for="model">Модель</label>
  6. <input type="text" class="form-control" name="model" id="model" placeholder="Введите модель">
  7. <label for="production_date">Дата производства</label>
  8. <input type="date" class="form-control" name="production_date" id="production_date" placeholder="Введите модель">
  9. <label for="operating_date">Дата начала эксплоатации</label>
  10. <input type="date" class="form-control" name="operating_date" id="operating_date" placeholder="Введите модель">
  11. <label class="form-check-label" for="serviceability">Исправность</label>
  12. <input type="checkbox" class="form-check-input" name="serviceability" id="serviceability">
  13. </div>
  14. <button type="submit" class="btn btn-primary">Submit</button>
  15. @csrf
  16. </form>
  17. @stop