<commit_before>{% block title %}
    {{ 'views.new.creation'|trans({'%entity%': 'Photolist'}, 'JordiLlonchCrudGeneratorBundle') }}
{% endblock %}

{% block page %}

<p>
  <button class="btn add_photo" href="{{ path('photolist_new' }}" type="button">Add Photolist</button>
</p>

<div class="add_new_photolist">
</div>

<script type="text/javascript">
$(document).ready( function () {
    $('.add_photo').on("click", function(event){ 
        event.preventDefault();
        getdefaultstringAjax ($(this).attr('href'), $('.add_new_photolist'), 'html')
    });
});
</script><commit_msg>add action<commit_after>{% block title %}
    {{ 'views.new.creation'|trans({'%entity%': 'Photolist'}, 'JordiLlonchCrudGeneratorBundle') }}
{% endblock %}

{% block page %}

<p>
  <button class="btn add_photo" href="{{ path('photolist_new') }}" type="button">Add Photolist</button>
</p>

<div class="add_new_photolist">
</div>

<script type="text/javascript">
$(document).ready( function () {
    $('.add_photo').on("click", function(event){ 
        event.preventDefault();
        getdefaultstringAjax ($(this).attr('href'), $('.add_new_photolist'), 'html')
    });
});
</script>
{'fraction_non_alphanumeric': 0.22938144329896906, 'fraction_numerical': 0.0, 'mean_word_length': 5.263440860215054, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '3749049', 'n_tokens_mistral': 419, 'n_tokens_neox': 394, 'n_words': 66}