<commit_before> 
<script type="text/javascript">
    var RecaptchaOptions = {theme: 'clean'};
</script>

{% include 'TwitterBootstrapBundle::stylesheets.html.twig'%}
{% include 'MyAppEspritBundle:Default:sousmenu.html.twig'  with { 'routeName':app.request.get('_route') }%}
 
<link  href="{{ asset('bundles/myappesprit/css/passwordstrength/strength-meter.css') }}" rel="stylesheet" type="text/css" media="screen"/> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="{{ asset('bundles/myappesprit/css/passwordstrength/strength-meter.js') }}" type="text/javascript"></script>
  
 
<div class="contenudetemplate">
 <div style="margin-left: 100px;margin-top: 100px;">



    <b><h2>Opret profil</h2></b> 
    <p> Vekommen til SOL.dk ......</p> 
      {% block javascripts %}{{ form_javascript(form) }}{% endblock %}




    <form action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST"  > 
    
        <div id="login-input" style="  padding-left: 100px;"> 


            <table width="670" height="383"  > 
                <tr>
                    <td width="158">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        Brugernavn&nbsp; <b  class="rouge">*</b> &nbsp;&nbsp;</td>
                    <td width="285">{{form_widget(form.username)}}</td>
                    <td width="156">&nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        Fuldtnavn&nbsp; <b  class="rouge">*</b> &nbsp;&nbsp;</td>
                    <td>{{form_widget(form.nomprenom)}}</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        Adgangskode&nbsp; <b  class="rouge">*</b> &nbsp;&nbsp;</td>
                    <td><div class="form-group">{{form_widget(form.plainPassword.first, { 'id': 'kv',  'attr': { 'style' : 'width:310px',  'class' : 'form-control strength' } } ) }}</div></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Gentag Adgangskode<b  class="rouge">*</b></td>
                    <td> {{form_widget(form.plainPassword.second)}}</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td height="122">Skriv bogstaverne</td>

                    <td>{{form_widget(form.captcha)}}</td>
                    <td><b  class="rouge">skift bogstaverne</b></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><input type="checkbox" value="" class="btn btn-warning btn-lg" required="true" /> 
                        J accepte les<b  class="rouge"> termes</b></td>
                    <td>&nbsp;</td>
                </tr>
            </table>

                {{form_widget(form._token)}} 
            </br></br>
            <div id="buttonsregistrer">
                <input type="submit" style="width: 150px;" value="{{ 'opret profil'|trans({}, 'FOSUserBundle') }}"class="btn btn-warning btn-lg"  />
                <a href="{{path('my_app_esprit_homepage') }}" style="text-decoration:none;color:#c52821;">                                                                                                                                                      
                    &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Annuler&nbsp;&nbsp;</a>
            </div>





        </div>     
    </form>
</div></div>








 
{#
    <form>
        <div class="form-group">
            <input id="kv" type="password" class="form-control strength">
        </div>
        <div class="form-group">
           
    
            <button class="btn btn-danger" type="button"
                    onclick="$('#kv').val('K21$^akc');
                            $('#kv').strength('refresh');">Assign
            </button>
        </div>
    </form>
 #}<commit_msg>validation pattern /registrer Signed-off-by: MehezLabidi <<EMAIL>><commit_after> 
<script type="text/javascript">
    var RecaptchaOptions = {theme: 'clean'};
</script>

{% include 'TwitterBootstrapBundle::stylesheets.html.twig'%}
{% include 'MyAppEspritBundle:Default:sousmenu.html.twig'  with { 'routeName':app.request.get('_route') }%}
 
<link  href="{{ asset('bundles/myappesprit/css/passwordstrength/strength-meter.css') }}" rel="stylesheet" type="text/css" media="screen"/> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="{{ asset('bundles/myappesprit/css/passwordstrength/strength-meter.js') }}" type="text/javascript"></script>
  
 
<div class="contenudetemplate">
 <div style="margin-left: 100px;margin-top: 100px;">



    <b><h2>Opret profil</h2></b> 
    <p> Vekommen til SOL.dk ......</p> 
      {% block javascripts %}{{ form_javascript(form) }}{% endblock %}




    <form action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST"  > 
    
        <div id="login-input" style="  padding-left: 100px;"> 


            <table width="670" height="383"  > 
                <tr>
                    <td width="158">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        Brugernavn&nbsp; <b  class="rouge">*</b> &nbsp;&nbsp;</td>
                    <td width="285">{{form_widget(form.username, 
                 {'required':'required', 'pattern': '[A-Za-z]{2,10}','title': 'Only letters'} ) }}</td>
                                
                    <td width="156">&nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        Fuldtnavn&nbsp; <b  class="rouge">*</b> &nbsp;&nbsp;</td>
                    <td>{{form_widget(form.nomprenom,
                          {'required':'required', 'pattern': '[A-Za-z]{2,10}','title': 'Only letters'} ) }}</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        Adgangskode&nbsp; <b  class="rouge">*</b> &nbsp;&nbsp;</td>
                    <td>
                        <div class="form-group">{{form_widget(form.plainPassword.first,
                            
                               { 'id': 'kv',  'attr': { 'style' : 'width:310px','class' : 'form-control strength',
                                  'required':'required', 'pattern': '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{10,}' ,
                                'title': 'Must contain at least one number and one uppercase and lowercase letter, and at least 10 or more ' } } ) }}
                        </div>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Gentag Adgangskode<b  class="rouge">*</b></td>
                    <td> {{form_widget(form.plainPassword.second)}}</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td height="122">Skriv bogstaverne</td>

                    <td>{{form_widget(form.captcha)}}</td>
                    <td><b  class="rouge">skift bogstaverne</b></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><input type="checkbox" value="" class="btn btn-warning btn-lg" required="true" /> 
                        J accepte les<b  class="rouge"> termes</b></td>
                    <td>&nbsp;</td>
                </tr>
            </table>

                {{form_widget(form._token)}} 
            </br></br>
            <div id="buttonsregistrer">
                <input type="submit" style="width: 150px;" value="{{ 'opret profil'|trans({}, 'FOSUserBundle') }}"class="btn btn-warning btn-lg"  />
                <a href="{{path('my_app_esprit_homepage') }}" style="text-decoration:none;color:#c52821;">                                                                                                                                                      
                    &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;Annuler&nbsp;&nbsp;</a>
            </div>





        </div>     
    </form>
</div></div>








 
{#
    <form>
        <div class="form-group">
            <input id="kv" type="password" class="form-control strength">
        </div>
        <div class="form-group">
           
    
            <button class="btn btn-danger" type="button"
                    onclick="$('#kv').val('K21$^akc');
                            $('#kv').strength('refresh');">Assign
            </button>
        </div>
    </form>
 #}
{'fraction_non_alphanumeric': 0.1883186600815976, 'fraction_numerical': 0.010736525660296328, 'mean_word_length': 1.561881188118812, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '19523', 'n_tokens_mistral': 2975, 'n_tokens_neox': 2681, 'n_words': 406}