<commit_before>{% load bb_ember %}
{% load i18n %}
{% load static %}

{% tplhandlebars "my_project_pitch" %}

    <legend>
        <strong>
            {% trans 'Project Basics' %}
        </strong>
    </legend>
    <fieldset>
        <ul>
            {{bb-text-field label='Title' name='title' hint='Make it short, creative, simple and memorable.'
            valueBinding=title placeholder='Title' errors=errors.title maxlength=255}}
            {{bb-text-area rows='8' label='Description 80/200 characters' name='pitch' hint='Describe your smart idea in one paragraph.'
            valueBinding=pitch placeholder='Tell us in one paragraph where you need to the money for.' errors=errors.pitch maxlength=200 maxlength=255 }}
        </ul>
    </fieldset>
    <fieldset>
        <ul>
            {{bb-upload-image hint='Upload the picture that best describes your campaign.'
                fileBinding=image image_url=image.large label='Picture' buttonLabel='Upload picture' errors=errors.image}}
            {{bb-video-link label='Video' name='video' hint='Add here a video pitch if you want. Make it sparkling! Your energy will be your best selling point.'
            placeholder='Not required' valueBinding=video_url video_html=video_html  errors=errors.video}}
        </ul>
    </fieldset>
    <fieldset>
        <ul>
            {{#bb-form-field label='Theme' errors=errors.theme}}
                {{view App.ThemeSelectView name='theme' selectionBinding="theme" classBinding="errors.theme.length:error"
                prompt='Select one of the themes.'}}
            {{/bb-form-field}}
            {{#bb-form-field hint='Add some tags that characterise your project.' label='Tags' errors=errors.tags}}
                {{view App.TagWidget tagsBinding="tags" name='tags' classBinding="errors.tags.length:error" prompt='Add some tags that characterise your project.'}}
            {{/bb-form-field}}
        </ul>
    </fieldset>
    <fieldset>
        <ul>
            {{bb-datepicker name="'deadline'" label='Deadline' minDate='c' valueBinding='deadline' errors=errors.deadline }}

        </ul>
    </fieldset>
    <fieldset>
        <ul>

             {{#bb-form-field hint='Select a country.' label='Country' errors=errors.country}}
                {{view App.CountrySelectView selectionBinding=country classBinding="errors.country.length:error"}}
            {{/bb-form-field}}

            {{bb-map-picker hint='Select the location on the map. You can use the search to find your location.'
                latitudeBinding=latitude longitudeBinding=longitude label='Location' errors=errors.location}}
        </ul>
    </fieldset>
{{ partial '_my_project_footer' }}


{% endtplhandlebars %}<commit_msg>BOOK-414 no string in valueBinding<commit_after>{% load bb_ember %}
{% load i18n %}
{% load static %}

{% tplhandlebars "my_project_pitch" %}

    <legend>
        <strong>
            {% trans 'Project Basics' %}
        </strong>
    </legend>
    <fieldset>
        <ul>
            {{bb-text-field label='Title' name='title' hint='Make it short, creative, simple and memorable.'
            valueBinding=title placeholder='Title' errors=errors.title maxlength=255}}
            {{bb-text-area rows='8' label='Description 80/200 characters' name='pitch' hint='Describe your smart idea in one paragraph.'
            valueBinding=pitch placeholder='Tell us in one paragraph where you need to the money for.' errors=errors.pitch maxlength=200 maxlength=255 }}
        </ul>
    </fieldset>
    <fieldset>
        <ul>
            {{bb-upload-image hint='Upload the picture that best describes your campaign.'
                fileBinding=image image_url=image.large label='Picture' buttonLabel='Upload picture' errors=errors.image}}
            {{bb-video-link label='Video' name='video' hint='Add here a video pitch if you want. Make it sparkling! Your energy will be your best selling point.'
            placeholder='Not required' valueBinding=video_url video_html=video_html  errors=errors.video}}
        </ul>
    </fieldset>
    <fieldset>
        <ul>
            {{#bb-form-field label='Theme' errors=errors.theme}}
                {{view App.ThemeSelectView name='theme' selectionBinding="theme" classBinding="errors.theme.length:error"
                prompt='Select one of the themes.'}}
            {{/bb-form-field}}
            {{#bb-form-field hint='Add some tags that characterise your project.' label='Tags' errors=errors.tags}}
                {{view App.TagWidget tagsBinding="tags" name='tags' classBinding="errors.tags.length:error" prompt='Add some tags that characterise your project.'}}
            {{/bb-form-field}}
        </ul>
    </fieldset>
    <fieldset>
        <ul>
            {{bb-datepicker hint='Select the ending date of your project'
                valueBinding=deadline name='deadline' label='Deadline' errors=errors.deadline minDate='c'}}

        </ul>
    </fieldset>
    <fieldset>
        <ul>

             {{#bb-form-field hint='Select a country.' label='Country' errors=errors.country}}
                {{view App.CountrySelectView selectionBinding=country classBinding="errors.country.length:error"}}
            {{/bb-form-field}}

            {{bb-map-picker hint='Select the location on the map. You can use the search to find your location.'
                latitudeBinding=latitude longitudeBinding=longitude label='Location' errors=errors.location}}
        </ul>
    </fieldset>

{{ partial '_my_project_footer' }}


{% endtplhandlebars %}
{'fraction_non_alphanumeric': 0.1286931303244517, 'fraction_numerical': 0.0067065434112742435, 'mean_word_length': 2.7410169491525425, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '5998822', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1474, 'n_words': 407}