index.blade.php 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <form class="modal-form form-prevent-multiple-submits" action="{{ route('contact.store') }}" method="POST">
  2. @csrf
  3. <input type="hidden" name="seq_no" value="{{ request('seq_no') }}">
  4. <div class="form-title">
  5. <h3>연락처 추가</h3>
  6. </div>
  7. <div class="form-group">
  8. <label class="form-label">종류</label>
  9. <div class="d-flex align-items-center">
  10. @forelse ($codeTitle['sort']['company-contact-bd'] ?? [] as $key => $sort)
  11. @if ($sort['Code'] !== '')
  12. <div class="sort-div">
  13. <input type="radio" value="{{ $sort['Code'] }}" name="sort" id="sort-radio-{{ $key }}" {{ $key === 0 ? 'checked' : '' }}>
  14. <label for="sort-radio-{{ $key }}" class="form-label">{{ $sort['Title'] }}</label>
  15. </div>
  16. @endif
  17. @empty
  18. @endforelse
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="form-label">이름</label>
  23. <input class="form-control" type="text" name="contact_name" placeholder="Enter your name" required>
  24. </div>
  25. <div class="form-group">
  26. <label class="form-label">연락처</label>
  27. <input class="form-control" type="text" name="mobile_no" placeholder="Enter your number" required>
  28. </div>
  29. <button class="form-btn button-prevent-multiple-submits save-prev-scroll-submits" type="submit">
  30. <i class="spinner fa fa-spinner fa-spin"></i>
  31. 저장
  32. </button>
  33. </form>