Files
Doctrine-Check/templates/step3.html
2025-12-12 16:14:35 +09:00

256 lines
17 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div class="step-container">
<div class="progress-bar">
<div class="progress-step completed">1</div>
<div class="progress-line"></div>
<div class="progress-step completed">2</div>
<div class="progress-line"></div>
<div class="progress-step active">3</div>
<div class="progress-line"></div>
<div class="progress-step">4</div>
<div class="progress-line"></div>
<div class="progress-step">5</div>
</div>
<h2>3단계: 이단 일반 교리 점검</h2>
<form id="step3Form" class="form-container">
<div class="doctrine-section">
<div class="form-group">
<label>1. 우리의 구원을 위해서 성경 이외의 가르침이 필요하다고 생각하십니까?</label>
<div class="radio-group">
<label><input type="radio" name="q1_additional_teaching" value="예" {% if general_cult_doctrine.get('q1_additional_teaching') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q1_additional_teaching" value="아니오" {% if general_cult_doctrine.get('q1_additional_teaching') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q1_additional_teaching" value="모르겠습니다" {% if general_cult_doctrine.get('q1_additional_teaching') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>2. 어떤 특별한 성경 번역본만이 진리이고 다른 번역본에는 문제가 있다고 생각하십니까?</label>
<div class="radio-group">
<label><input type="radio" name="q2_special_bible" value="예" {% if general_cult_doctrine.get('q2_special_bible') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q2_special_bible" value="아니오" {% if general_cult_doctrine.get('q2_special_bible') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q2_special_bible" value="모르겠습니다" {% if general_cult_doctrine.get('q2_special_bible') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>3. 성경의 진리 가운데 그동안 숨겨져 온 부분이 있고, 그 내용을 계시 받은 특별한 사람이 있다고 믿고 있습니까?</label>
<div class="radio-group">
<label><input type="radio" name="q3_hidden_truth" value="예" {% if general_cult_doctrine.get('q3_hidden_truth') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q3_hidden_truth" value="아니오" {% if general_cult_doctrine.get('q3_hidden_truth') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q3_hidden_truth" value="모르겠습니다" {% if general_cult_doctrine.get('q3_hidden_truth') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>4. 성경을 해석하기 위해서 비유가 매우 중요하다고 생각하십니까? 비유를 깨닫기 위해서 별도의 성경공부가 필요하다고 생각하십니까?</label>
<div class="radio-group">
<label><input type="radio" name="q4_parable" value="예" {% if general_cult_doctrine.get('q4_parable') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q4_parable" value="아니오" {% if general_cult_doctrine.get('q4_parable') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q4_parable" value="모르겠습니다" {% if general_cult_doctrine.get('q4_parable') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>5. 성경의 내용들 가운데 모든 것이 서로 짝이 있습니까?</label>
<div class="radio-group">
<label><input type="radio" name="q5_pairs" value="예" {% if general_cult_doctrine.get('q5_pairs') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q5_pairs" value="아니오" {% if general_cult_doctrine.get('q5_pairs') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q5_pairs" value="모르겠습니다" {% if general_cult_doctrine.get('q5_pairs') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>6. 구세주 되시는 예수님은 모든 인류의 구원을 위해서 죽으셨는데 아직도 특별한 사람을 대리자로 세워서 구원사역을 이루실 필요가 있습니까?</label>
<div class="radio-group">
<label><input type="radio" name="q6_mediator" value="예" {% if general_cult_doctrine.get('q6_mediator') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q6_mediator" value="아니오" {% if general_cult_doctrine.get('q6_mediator') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q6_mediator" value="모르겠습니다" {% if general_cult_doctrine.get('q6_mediator') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>7. 나는 죄인이라고 생각하십니까? 나의 구원은 확실하십니까? 그 이유는 무엇입니까? (이 문항은 아래 기타의견란에 문항번호를 적은 후 서술해 주세요)</label>
<p class="help-text">※ 이 문항은 아래 "기타의견"란에 "7번: "으로 시작하여 답변해주세요.</p>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>8. 우리는 구원 받았을 때 회개했습니다. 그리고 이후에 다시 회개가 필요합니까?</label>
<div class="radio-group">
<label><input type="radio" name="q8_repentance" value="예" {% if general_cult_doctrine.get('q8_repentance') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q8_repentance" value="아니오" {% if general_cult_doctrine.get('q8_repentance') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q8_repentance" value="모르겠습니다" {% if general_cult_doctrine.get('q8_repentance') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>9. 우리가 주일을 성수하는 것은 성경적입니까?</label>
<div class="radio-group">
<label><input type="radio" name="q9_sunday" value="예" {% if general_cult_doctrine.get('q9_sunday') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q9_sunday" value="아니오" {% if general_cult_doctrine.get('q9_sunday') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q9_sunday" value="모르겠습니다" {% if general_cult_doctrine.get('q9_sunday') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>10. 안식일을 지키는 것이 구원의 조건입니까?</label>
<div class="radio-group">
<label><input type="radio" name="q10_sabbath" value="예" {% if general_cult_doctrine.get('q10_sabbath') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q10_sabbath" value="아니오" {% if general_cult_doctrine.get('q10_sabbath') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q10_sabbath" value="모르겠습니다" {% if general_cult_doctrine.get('q10_sabbath') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>11. 성탄절은 예수님이 탄생한 날입니다. 12월 25일에 기념해도 되는 겁니까?</label>
<div class="radio-group">
<label><input type="radio" name="q11_christmas" value="예" {% if general_cult_doctrine.get('q11_christmas') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q11_christmas" value="아니오" {% if general_cult_doctrine.get('q11_christmas') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q11_christmas" value="모르겠습니다" {% if general_cult_doctrine.get('q11_christmas') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>12. 예수 그리스도의 재림의 때가 구체적으로 언제인지 정해져 있다고 믿으십니까?</label>
<div class="radio-group">
<label><input type="radio" name="q12_second_coming_date" value="예" {% if general_cult_doctrine.get('q12_second_coming_date') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q12_second_coming_date" value="아니오" {% if general_cult_doctrine.get('q12_second_coming_date') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q12_second_coming_date" value="모르겠습니다" {% if general_cult_doctrine.get('q12_second_coming_date') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>13. 성경에서 말하는 동방은 한국을 말하는 것이 맞습니까?</label>
<div class="radio-group">
<label><input type="radio" name="q13_east" value="예" {% if general_cult_doctrine.get('q13_east') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q13_east" value="아니오" {% if general_cult_doctrine.get('q13_east') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q13_east" value="모르겠습니다" {% if general_cult_doctrine.get('q13_east') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>14. 당신의 종교적 신념을 지키는 것이 가정을 지키는 것보다 더 중요합니까?</label>
<div class="radio-group">
<label><input type="radio" name="q14_family" value="예" {% if general_cult_doctrine.get('q14_family') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q14_family" value="아니오" {% if general_cult_doctrine.get('q14_family') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q14_family" value="모르겠습니다" {% if general_cult_doctrine.get('q14_family') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>15. 당신이 믿는 바를 전하고 사명을 감당하기 위해서 모략을 사용하는 것이 바람직합니까?</label>
<div class="radio-group">
<label><input type="radio" name="q15_deception" value="예" {% if general_cult_doctrine.get('q15_deception') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q15_deception" value="아니오" {% if general_cult_doctrine.get('q15_deception') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q15_deception" value="모르겠습니다" {% if general_cult_doctrine.get('q15_deception') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>16. 주일성수, 새벽기도, 십일조 등 기존의 교회제도는 율법의 산물이기에 지킬 필요가 없다고 생각하십니까?</label>
<div class="radio-group">
<label><input type="radio" name="q16_church_system" value="예" {% if general_cult_doctrine.get('q16_church_system') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q16_church_system" value="아니오" {% if general_cult_doctrine.get('q16_church_system') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q16_church_system" value="모르겠습니다" {% if general_cult_doctrine.get('q16_church_system') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label>17. 사람이 질병에 걸리는 이유는 귀신의 영향 때문입니까?</label>
<div class="radio-group">
<label><input type="radio" name="q17_disease" value="예" {% if general_cult_doctrine.get('q17_disease') == '' %}checked{% endif %} required></label>
<label><input type="radio" name="q17_disease" value="아니오" {% if general_cult_doctrine.get('q17_disease') == '아니오' %}checked{% endif %}> 아니오</label>
<label><input type="radio" name="q17_disease" value="모르겠습니다" {% if general_cult_doctrine.get('q17_disease') == '모르겠습니다' %}checked{% endif %}> 모르겠습니다</label>
</div>
</div>
</div>
<div class="doctrine-section">
<div class="form-group">
<label for="other_opinions">기타의견 (7번 문항 답변 포함)</label>
<textarea id="other_opinions" name="other_opinions" rows="5" placeholder="7번 문항 답변 및 기타 의견을 작성해주세요. 7번 문항은 '7번: '으로 시작하여 답변해주세요.">{{ general_cult_doctrine.get('other_opinions', '') }}</textarea>
</div>
</div>
<div class="form-actions">
<button type="button" class="btn btn-secondary" onclick="window.location.href='/step2'">이전</button>
<button type="submit" class="btn btn-primary">다음 단계</button>
</div>
</form>
</div>
{% endblock %}
{% block scripts %}
<script>
document.getElementById('step3Form').addEventListener('submit', async function(e) {
e.preventDefault();
const formData = new FormData(this);
const data = Object.fromEntries(formData);
// 7번 문항 검증 (기타의견란에 작성 필요)
const otherOpinions = data.other_opinions || '';
if (!otherOpinions.trim() || !otherOpinions.includes('7번:')) {
alert('7번 문항은 기타의견란에 "7번: "으로 시작하여 답변해주세요.');
document.getElementById('other_opinions').focus();
return;
}
try {
const response = await fetch('/step3', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(data)
});
const result = await response.json();
if (result.success) {
window.location.href = result.next_step;
} else {
alert('오류가 발생했습니다: ' + (result.message || '알 수 없는 오류'));
}
} catch (error) {
alert('오류가 발생했습니다: ' + error.message);
}
});
</script>
{% endblock %}