<commit_before>{% extends "base.html" %}

{% block title %} New Post {% endblock %}

{% block content %}

<div class="row">
    <div class="col-lg-6 col-lg-offset-3">
        
        <div class="page-header">
            <h1>New Post</h1>
        </div>

        <form acton="" method="post" enctype="multipart/form-data" class="form-horizontal">
            {% csrf_token %}
          <fieldset>
            <div class="form-group">
              <label for="inputtitle" class="col-lg-2 control-label">Title</label>
              <div class="col-lg-10">
                <input type="text" class="form-control" name="title" id="inputtitle" placeholder="제목을 입력해 주세요">
              </div>
            </div>

            
            <div class="form-group">
              <label for="textArea" class="col-lg-2 control-label create-post-content">Content</label>
              <div class="col-lg-10">
                <textarea type="text" name="content" class="create-post-content form-control" rows="3" id="inputcontent"></textarea>
                <span class="help-block">상세 구매 후기를 작성해 주세요.</span>
              </div>
            </div>

            <div class="form-group">
                <div class="col-lg-10 col-lg-offset-2">
                   <div class="row">
                   <input id="photoCover" class="col-lg-10" type="file" name="image" multiple/>
                   <button type="submit" class="btn btn-primary btn-sm">등록하기</button>
                </div>
            </div>
          </fieldset>
        </form>
    </div>
</div>

{% endblock %}
<commit_msg>add summernote widgets<commit_after>{% extends "base.html" %}

{% block title %} New Post {% endblock %}

{% block content %}
{% load staticfiles %}
<link href="{% static 'css/dropzone.min.css' %}" type="text/css" rel="stylesheet"/>

<div class="row">
    <div class="col-lg-8 col-lg-offset-2">
     <form class="form-horizontal" method="POST">    
         {%csrf_token%}
        <div class="page-header">
            <h1>New Post</h1>
        </div>
			<div class="form-group">
              <label for="textArea" class="col-lg-2 control-label create-post-content">title</label>
				{{form.title}}
			</div>

			<div>
				{{form.content}}
			</div>

   <button type="submit" class="btn btn-primary btn-sm">등록하기</button>
    </form>
    </div>
</div>

{% endblock %}
{% block custom_js %}
{% endblock %}

{'fraction_non_alphanumeric': 0.18036912751677853, 'fraction_numerical': 0.008808724832214765, 'mean_word_length': 2.0694980694980694, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2264426', 'n_tokens_mistral': 818, 'n_tokens_neox': 774, 'n_words': 152}