<commit_before><h1 class="no_border float_left"><%= t("children.label") %></h1>
<% if can? :create, Child %>
    <%= link_to content_tag(:span, t("children.register_new_child"), :class => 'create_user'), new_child_path, :class=>'btn' %>
<% end %>

<% if can?(:export, Child) %>
    <div class="btn dropdown_btn">
      <span class="export"><%= t("children.export") %></span>
      <div class="dropdown hide">
        <% if can?(:view_all, Child) %>
            <%= link_to t('children.export_all_child_records_to_csv'), children_path(:format => :csv) %>
            <%= link_to t('children.export_all_child_records_to_pdf'), children_path(:format => :pdf) %>
        <%end%>
        <%= link_to t("children.export_some_records_to_csv"), new_advanced_search_path %>
      </div>
    </div>

<%end%><commit_msg>#1395 |Kavitha-Export to PDF shown for users with apt permissions<commit_after><h1 class="no_border float_left"><%= t("children.label") %></h1>
<% if can? :create, Child %>
    <%= link_to content_tag(:span, t("children.register_new_child"), :class => 'create_user'), new_child_path, :class=>'btn' %>
<% end %>

<% if can?(:export, Child) %>
    <div class="btn dropdown_btn">
      <span class="export"><%= t("children.export") %></span>
      <div class="dropdown hide">
        <% if can?(:export, Child) %>
            <%= link_to t('children.export_all_child_records_to_csv'), children_path(:format => :csv) %>
            <%= link_to t('children.export_all_child_records_to_pdf'), children_path(:format => :pdf) %>
            <%= link_to t("children.export_some_records_to_csv"), new_advanced_search_path %>
      <%end%>
      </div>
    </div>

<%end%>
{'fraction_non_alphanumeric': 0.19820359281437125, 'fraction_numerical': 0.004790419161676647, 'mean_word_length': 4.141538461538461, 'pattern_counts': {'":': 0, '<': 43, '<?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': '2996721', 'n_tokens_mistral': 603, 'n_tokens_neox': 556, 'n_words': 104}