create.blade.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @extends('backend.layouts.app')
  2. @section('content')
  3. <div class="row">
  4. <div class="col-lg-7 mx-auto">
  5. <div class="card">
  6. <div class="card-header">
  7. <h5 class="mb-0 h6">{{ translate('Install/Update Addon')}}</h5>
  8. </div>
  9. <form class="form-horizontal" action="{{ route('addons.store') }}" method="POST" enctype="multipart/form-data">
  10. @csrf
  11. <div class="card-body">
  12. <div class="form-group row">
  13. <label class="col-sm-3 col-from-label" for="purchase_code">{{ translate('Purchase code')}}</label>
  14. <div class="col-sm-9">
  15. <input type="text" id="purchase_code" name="purchase_code" class="form-control" autocomplete="off" required>
  16. </div>
  17. </div>
  18. <div class="form-group row">
  19. <label class="col-sm-3 col-from-label" for="addon_zip">{{ translate('Zip File')}}</label>
  20. <div class="col-sm-9">
  21. <div class="custom-file">
  22. <label class="custom-file-label">
  23. <input type="file" id="addon_zip" name="addon_zip" class="custom-file-input" required>
  24. <span class="custom-file-name">{{ translate('Choose file') }}</span>
  25. </label>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="form-group mb-0 text-right">
  30. <button type="submit" class="btn btn-primary">{{translate('Install/Update')}}</button>
  31. </div>
  32. </div>
  33. </form>
  34. </div>
  35. </div>
  36. </div>
  37. @endsection