add.edge 843 B

12345678910111213141516171819202122232425262728
  1. @layout('partials/body')
  2. @section('container')
  3. <div style="margin: auto;width: 60%;">
  4. <br>
  5. @if(flashMessage('vid'))
  6. <div class="alert alert-success"><span>{{ flashMessage('vid') }}</span></div>
  7. @endif
  8. {{ elIf('<div class="alert alert-danger"><span>$self</span></div>', getErrorFor('vid'), hasErrorFor('vid')) }}
  9. <br>
  10. <div class="card">
  11. <div class="card-body">
  12. <h1 class="text-center display-4">{{ antl.forLocale(currentLocale).formatMessage('messages.APT') }}</h1>
  13. <br>
  14. <hr>
  15. <br>
  16. <form method="POST" action="/add">
  17. <div class="form-group">
  18. <input class="form-control" type="text" name="vid" id="vid" placeholder="Video ID ( 87ktPw9dAOE )">
  19. </div>
  20. {{ csrfField() }}
  21. <button type="submit" class="btn btn-primary center">{{ antl.forLocale(currentLocale).formatMessage('messages.APB') }}</button>
  22. </form>
  23. </div>
  24. </div>
  25. </div>
  26. @endsection