<commit_before>{% import "PuphpetMainBundle:front:macros/popover.html.twig" as popover %}
{% set uniqid = uniqid('vvs_', true) %}

<!-- vagrantfile-local / Shared Folders -->
<input type="hidden" name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][id]"
       value="{% if synced_folder.id %}{{ synced_folder.id }}{% else %}{{ uniqid() }}{% endif %}" />

<div id="{{ uniqid }}">
    <div class="panel-heading">
        <h3 class="panel-title">Sharing Folders with Local VM</h3>
    </div>

    <div class="panel-body">
        <div class="row form-group">
            <div class="col-md-6">
                <label for="vagrantfile-local-vm-synced_folder-{{ uniqid }}-source">
                    Box Sync Folder Source
                    {{ popover.small('Path your files are stored on host machine,
                        <a href="http://docs.vagrantup.com/v2/synced-folders/index.html" target="_blank">more information</a>.
                        <strong>Windows users:</strong> You must use forward-slash
                        <code>c:/dev/vagrant/webroot</code> or double back-slash
                        <code>c:\\dev\\vagrant\\webroot</code>')
                    }}
                </label>
                <input type="text" id="vagrantfile-local-vm-synced_folder-{{ uniqid }}-source"
                       name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][source]"
                       required placeholder="/path/to/your/web/files"
                       value="{{ synced_folder.source }}" class="form-control" />
            </div>

            <div class="col-md-6">
                <label for="vagrantfile-local-vm-synced_folder-{{ uniqid }}-target">
                    Box Sync Folder Target
                    {{ popover.small('Path your hosts\' files are mounted on guest machine,
                        <a href="http://docs.vagrantup.com/v2/synced-folders/index.html" target="_blank">more information</a>')
                    }}
                </label>
                <input type="text" id="vagrantfile-local-vm-synced_folder-{{ uniqid }}-target"
                       name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][target]"
                       required placeholder="/path/on/vm"
                       value="{{ synced_folder.target }}" class="form-control" />
            </div>
        </div>

        <div class="row form-group">
            <div class="col-md-12">
                <label>
                    Shared Folder Type<commit_msg>Escape backslashes in windows path<commit_after>{% import "PuphpetMainBundle:front:macros/popover.html.twig" as popover %}
{% set uniqid = uniqid('vvs_', true) %}

<!-- vagrantfile-local / Shared Folders -->
<input type="hidden" name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][id]"
       value="{% if synced_folder.id %}{{ synced_folder.id }}{% else %}{{ uniqid() }}{% endif %}" />

<div id="{{ uniqid }}">
    <div class="panel-heading">
        <h3 class="panel-title">Sharing Folders with Local VM</h3>
    </div>

    <div class="panel-body">
        <div class="row form-group">
            <div class="col-md-6">
                <label for="vagrantfile-local-vm-synced_folder-{{ uniqid }}-source">
                    Box Sync Folder Source
                    {{ popover.small('Path your files are stored on host machine,
                        <a href="http://docs.vagrantup.com/v2/synced-folders/index.html" target="_blank">more information</a>.
                        <strong>Windows users:</strong> You must use forward-slash
                        <code>c:/dev/vagrant/webroot</code> or double back-slash
                        <code>c:\\\\dev\\\\vagrant\\\\webroot</code>')
                    }}
                </label>
                <input type="text" id="vagrantfile-local-vm-synced_folder-{{ uniqid }}-source"
                       name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][source]"
                       required placeholder="/path/to/your/web/files"
                       value="{{ synced_folder.source }}" class="form-control" />
            </div>

            <div class="col-md-6">
                <label for="vagrantfile-local-vm-synced_folder-{{ uniqid }}-target">
                    Box Sync Folder Target
                    {{ popover.small('Path your hosts\' files are mounted on guest machine,
                        <a href="http://docs.vagrantup.com/v2/synced-folders/index.html" target="_blank">more information</a>')
                    }}
                </label>
                <input type="text" id="vagrantfile-local-vm-synced_folder-{{ uniqid }}-target"
                       name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][target]"
                       required placeholder="/path/on/vm"
                       value="{{ synced_folder.target }}" class="form-control" />
            </div>
        </div>

        <div class="row form-group">
            <div class="col-md-12">
                <label>
                    Shared Folder Type
{'fraction_non_alphanumeric': 0.15736141466322273, 'fraction_numerical': 0.0031790184780449036, 'mean_word_length': 1.8138624930128564, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '5456945', 'n_tokens_mistral': 1535, 'n_tokens_neox': 1447, 'n_words': 277}