<commit_before><%
if @model_info.hideable? && can?(:edit, @model)
    element_id = "hide_#{item.id}"
    toggle_url = admin_url_for(
        :controller => :status,
        :action => :toggle,
        :model => @model,
        :id => item.id
    ) #todo via native method. Add route resourse

    %><div class="view-option">
        <input id="<%=element_id%>" data-toggle-url="<%= toggle_url %>" type="checkbox"<%
            if item.shown?
                %> checked="checked"<%
            end
        %>/>
        <label for="<%=element_id %>" class="glyphicon"></label>
    </div><%
end %><commit_msg>fixed hideable<commit_after><%
if @model_info.hideable? && can?(:edit, @model)
    element_id = "hide_#{item.id}"
    toggle_url = admin_url_for(
        :controller => :"rademade_admin/status",
        :action => :toggle,
        :model => @model,
        :id => item.id
    ) #todo via native method. Add route resource

    %><div class="view-option">
        <input id="<%=element_id%>" data-toggle-url="<%= toggle_url %>" type="checkbox"<%
            if item.shown?
                %> checked="checked"<%
            end
        %>/>
        <label for="<%=element_id %>" class="glyphicon"></label>
    </div><%
end %>
{'fraction_non_alphanumeric': 0.18943089430894308, 'fraction_numerical': 0.0, 'mean_word_length': 2.391184573002755, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 35, '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': '4550957', 'n_tokens_mistral': 418, 'n_tokens_neox': 400, 'n_words': 81}