<commit_before>{% import 'appbuilder/general/lib.html' as lib %}


	{% set can_add = "can_add" | is_item_visible(generalview_name) %}
	{% set can_show = "can_show" | is_item_visible(generalview_name) %}
    {% set can_edit = "can_edit" | is_item_visible(generalview_name) %}
	{% set can_delete = "can_delete" | is_item_visible(generalview_name) %}
    
	<div class="well well-sm">
		{{ lib.render_pagination(page, page_size, count, generalview_name) }}
		{% if can_add %}
			{% set path = url_for(generalview_name + '.add',next=request.path) %}
			{% set path = path | set_link_filters(filters, pk) %}
			{{ lib.lnk_add(path) }}
		{% endif %}
		{{ lib.lnk_back() }}
		
		<div class="pull-right">
	  	<strong>{{ _('Record Count') }}:</strong> {{ count }}
		</div>
  </div>	
	
	{% if value_columns %}
	
	
  {% for item in value_columns %}
		{% set outer_loop = loop %}
		<center>
			<div class="btn-group btn-group-xs">
			{% if can_show %}
				{% set path = url_for(generalview_name + '.show',pk=pks[loop.index-1],next=request.path) %}
				{% set path = path | set_link_filters(filters, pk) %}
				{{ lib.lnk_show(path) }}
			{% endif %}
			{% if can_edit %}
				{% set path = url_for(generalview_name + '.edit',pk=pks[loop.index-1],next=request.path) %}
				{% set path = path | set_link_filters(filters, pk) %}
				{{ lib.lnk_edit(path) }}
			{% endif %}
			{% if can_delete %}
				{{ lib.lnk_delete(url_for(generalview_name + '.delete',pk=pks[loop.index-1],next=request.path)) }}
			{% endif %}
			</div>
		</center>
		<div class="list-group">
		<a href="#" class="list-group-item active">
		{% for value in include_columns %}
  			{% if loop.index == 1 %}
        			<h4 class="list-group-item-heading">{{ item[value]|safe }}</h4>
      			{% else %}
        			<p class="list-group-item-text">{{ item[value]|safe }}</p>
      			{% endif %}
		{% endfor %}
		</a>
		</div>
	{% endfor %}
	
	
	{% else %}
	<b> {{_("No records found")}}</b>
	{% endif %}<commit_msg>Update list_item.html<commit_after>{% import 'appbuilder/general/lib.html' as lib %}


	{% set can_add = "can_add" | is_item_visible(generalview_name) %}
	{% set can_show = "can_show" | is_item_visible(generalview_name) %}
    {% set can_edit = "can_edit" | is_item_visible(generalview_name) %}
	{% set can_delete = "can_delete" | is_item_visible(generalview_name) %}
    
	<div class="well well-sm">
		{{ lib.render_pagination(page, page_size, count, generalview_name) }}
		{% if can_add %}
			{% set path = url_for(generalview_name + '.add',next=request.path) %}
			{% set path = path | set_link_filters(filters, pk) %}
			{{ lib.lnk_add(path) }}
		{% endif %}
		{{ lib.lnk_back() }}
		
		<div class="pull-right">
	  	<strong>{{ _('Record Count') }}:</strong> {{ count }}
		</div>
  </div>	
	
	{% if value_columns %}
	
	
  {% for item in value_columns %}
		{% set outer_loop = loop %}
		<center>
			<div class="btn-group btn-group-xs">
			{% if can_show %}
				{% set path = url_for(generalview_name + '.show',pk=pks[loop.index-1],next=request.path) %}
				{% set path = path | set_link_filters(filters, pk) %}
				{{ lib.lnk_show(path) }}
			{% endif %}
			{% if can_edit %}
				{% set path = url_for(generalview_name + '.edit',pk=pks[loop.index-1],next=request.path) %}
				{% set path = path | set_link_filters(filters, pk) %}
				{{ lib.lnk_edit(path) }}
			{% endif %}
			{% if can_delete %}
				{{ lib.lnk_delete(url_for(generalview_name + '.delete',pk=pks[loop.index-1],next=request.path)) }}
			{% endif %}
			</div>
		</center>
		<div class="list-group">
		<a href="#" class="list-group-item">
		{% for value in include_columns %}
  			{% if loop.index == 1 %}
        			<h4 class="list-group-item-heading">{{ item[value]|safe }}</h4>
      			{% else %}
        			<p class="list-group-item-text">{{ item[value]|safe }}</p>
      			{% endif %}
		{% endfor %}
		</a>
		</div>
	{% endfor %}
	
	
	{% else %}
	<b> {{_("No records found")}}</b>
	{% endif %}
{'fraction_non_alphanumeric': 0.20223861612821165, 'fraction_numerical': 0.0030526583566522513, 'mean_word_length': 3.349557522123894, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '5629520', 'n_tokens_mistral': 1751, 'n_tokens_neox': 1458, 'n_words': 260}