You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
4.1 KiB
PHTML

<section class="main-inquiry">
<div class="container main-inquiry-container" id="inquiry">
<div class="row">
<div class="inquiry-message-box text-center">
방문해주셔서 감사합니다. 궁금하신 점이 있다면 언제든 문의 주세요.<br><br>
질문이 있거나 도움이 필요한 경우 아래 양식을 작성해주세요.<br>
빠른 시간내 답변 드리겠습니다.
</div>
<div class="inquiry-form">
<div class="row">
<div class="col-12 col-md-6 mx-auto">
<form id="writeForm" method="post" accept-charset="utf-8" enctype="multipart/form-data" action="{{ route('board.store', null, false) }}" onsubmit="return false;">
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
<input type="hidden" name="mode" value="add" />
<input type="hidden" name="code" value="inquiry" />
<input type="hidden" name="board_id" value="3" />
<input type="hidden" name="uid" value="" />
<input type="hidden" name="category" value="" />
<div class="row">
<div class="col-12">
<label for="name" class="form-label mb-2">이름 또는 업체명 *</label>
<input type="text" class="k-input" name="name" id="name" value="" required />
</div>
<div class="col-12">
<label for="email" class="form-label mb-2">이메일 주소 *</label>
<input type="text" class="k-input" name="email" id="email" value="" required />
</div>
<div class="col-12">
<label for="phone" class="form-label mb-2">연락처 *</label>
<input type="text" class="k-input number" name="phone" id="phone" value="" placeholder="숫자만 입력해 주세요." required />
</div>
<div class="col-12">
<label for="zone" class="form-label mb-2">지역 *</label>
<input type="text" class="k-input" name="zone" id="zone" value="" required />
</div>
<div class="col-12">
<label for="subject" class="form-label mb-2">제목 *</label>
<input type="text" class="k-input" name="subject" id="subject" value="" required />
</div>
<div class="col-12">
<label for="content" class="form-label mb-2">내용 * </label>
<textarea name="content" id="content" rows="8" class="k-input k-text-area autosize" required></textarea>
</div>
<div id="file-list" class="col-12 mb-3 position-relative">
<label for="input-file" class="form-label mb-2">첨부파일</label>
<a href="javascript:;" id="file-add" class="file-add"><i class="fas fa-circle-plus"></i></a>
<div class="custom-file mb-2">
<input type="file" name="files[]" class="form-control rounded-0 hand">
</div>
</div>
</div>
<div class="text-center inquery-submit">
<button type="submit" class="black-submit-button">등록하기</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>