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


<!--<div class="form-group" >
    <label class="control-label col-sm-2" >Name</label>
    <div class="col-sm-10">
        <input type="text" class="form-control" name="name" required placeholder="Name of the recipe"/>
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2" >Recipe Image</label>
    <div class="col-sm-10">
        <input type="file" accept="image/*" name="image" required/>
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Preparation Time</label>
    <div class="col-sm-10">
        <input type="text" class="form-control" name="preparation_time" placeholder="Optional preparation time" />
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Cooking Time</label>
    <div class="col-sm-10">
        <input type="text" class="form-control" name="cooking_time" placeholder="Optional cooking time" />
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Cuisine Type</label>
    <div class="col-sm-10">
        <select name="cuisine" required>
            <option value="Ame">American</option>
            <option value="Chi">Chinese</option>
            <option value="Ind">Indian</option>
            <option value="Ita">Italian</option>
            <option value="Fre">French</option>
            <option value="Gre">Greek</option>
            <option value="Med">Mediterranean</option>
            <option value="Mex">Mexican</option>
            <option value="Nor">Nordic</option>
            <option value="Tur">Turkish</option>
            <option value="Ban" selected>Bangladeshi</option>
            <option value="Oth">Other</option>
        </select>
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Meal Type</label>
    <div class="col-sm-10">
        <select name="meal" required>
            <option value="Mai">Main Course</option>
            <option value="Sna">Snacks</option>
            <option value="Bre">Breakfast</option>
            <option value="Sid">Side Dishes</option>
            <option value="Des">Dessert</option>
            <option value="Cak">Cake and Baking</option>
            <option value="Dri">Drinks</option>
            <option value="Oth">Other</option>
        </select>
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Video Url</label>
    <div class="col-sm-10">
        <input type="url" class="form-control" name="video" placeholder="Optional video URL" />
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Ingredient</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="ingredient" placeholder="List of Ingredient" ></textarea>
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Direction</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="direction" placeholder="Direction" ></textarea>
    </div>
</div>
<div class="form-group" >
    <label class="control-label col-sm-2">Tips</label>
    <div class="col-sm-10">
        <textarea class="form-control" name="tips" placeholder="Optional tips" ></textarea>
    </div>
</div>
<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
        <button type="submit" class="btn btn-default"><i class="fa fa-save" ></i> Create Recipe</button>
    </div>
</div>-->
<div class="row clearfix">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    Create New Reminder
                </h2>
            </div>
            <div class="body">
                <form method="post" action="{% url 'create' %}" class="form-horizontal" > {% csrf_token %}
                    {% if messages %}
                    <div class="alert alert-warning" role="alert">
                        <ul class="messages">
                            {% for message in messages %}
                            <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                            {% endfor %}
                        </ul>
                    </div>
                    {% endif %}
                    <div class="row clearfix">
                        <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5 form-control-label">
                            <label>Title</label>
                        </div>
                        <div class="col-lg-10 col-md-10 col-sm-8 col-xs-7">
                            <div class="form-group">
                                <div class="form-line">
                                    <input type="text" name="title" class="form-control" placeholder="Enter title">
                                </div>
                            </div>
                        </div>
<commit_msg>removed unused codes<commit_after>{% extends "base.html" %}
{% block content %}

<div class="row clearfix">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    Create New Reminder
                </h2>
            </div>
            <div class="body">
                <form method="post" action="{% url 'create' %}" class="form-horizontal" > {% csrf_token %}
                    {% if messages %}
                    <div class="alert alert-warning" role="alert">
                        <ul class="messages">
                            {% for message in messages %}
                            <li>{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                            {% endfor %}
                        </ul>
                    </div>
                    {% endif %}
                    <div class="row clearfix">
                        <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5 form-control-label">
                            <label>Title</label>
                        </div>
                        <div class="col-lg-10 col-md-10 col-sm-8 col-xs-7">
                            <div class="form-group">
                                <div class="form-line">
                                    <input type="text" name="title" class="form-control" placeholder="Enter title">
                                </div>
                            </div>
                        </div>

{'fraction_non_alphanumeric': 0.16633358954650268, 'fraction_numerical': 0.011222136817832436, 'mean_word_length': 1.7051975051975052, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 182, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '307148', 'n_tokens_mistral': 1963, 'n_tokens_neox': 1841, 'n_words': 392}