<commit_before>{% extends 'lotes/index.html' %}

{% block title.content %}{{ titulo }} - {{ block.super }}{% endblock title.content %}
{% block header.content %}{{ titulo }} - <a href="/lotes/">{{ block.super }}</a>{% endblock header.content %}

{% block stylesheet %}
<style>
{% include 'layout/simple_table.css' %}
</style>
{% endblock %}

{% block content %}
<form action="/lotes/componentes_de_op/" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Busca"/>
</form>
{% if op %}
<h3>OP {{ op }}</h3>
{% endif %}
{% if msg_erro %}
<h3>{{ msg_erro }}</h3>
{% endif %}
{% if ref_data %}
  <table>
    {% include "layout/html_thead.html" with data=ref_headers only %}
    {% include "layout/html_tbody_group.html" with fields=ref_fields data=ref_data group=ref_group only %}
  </table>
{% endif %}
{% for comp in componentes %}
  <h3>{{ comp.header_text }}</h3>
  <table>
    {% include "layout/html_thead.html" with data=comp.headers only %}
    {% include "layout/html_tbody.html" with fields=comp.fields data=comp.data only %}
  </table>
{% endfor %}
{% endblock %}<commit_msg>link em produtos componentes da OP para OP<commit_after>{% extends 'lotes/index.html' %}

{% block title.content %}{{ titulo }} - {{ block.super }}{% endblock title.content %}
{% block header.content %}{{ titulo }} - <a href="/lotes/">{{ block.super }}</a>{% endblock header.content %}

{% block stylesheet %}
<style>
{% include 'layout/simple_table.css' %}
</style>
{% endblock %}

{% block content %}
<form action="/lotes/componentes_de_op/" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Busca"/>
</form>
{% if op %}
  <h3>OP {{ op }}</h3>
  {% url 'producao:op__get' op as detalhes_op %}
  {% with 'Detalhes da OP ' as text %}
    {% include "layout/link.html" with link=detalhes_op text=text|add:op only %}
  {% endwith %}
{% endif %}
{% if msg_erro %}
<h3>{{ msg_erro }}</h3>
{% endif %}
{% if ref_data %}
  <table>
    {% include "layout/html_thead.html" with data=ref_headers only %}
    {% include "layout/html_tbody_group.html" with fields=ref_fields data=ref_data group=ref_group only %}
  </table>
{% endif %}
{% for comp in componentes %}
  <h3>{{ comp.header_text }}</h3>
  <table>
    {% include "layout/html_thead.html" with data=comp.headers only %}
    {% include "layout/html_tbody.html" with fields=comp.fields data=comp.data only %}
  </table>
{% endfor %}
{% endblock %}
{'fraction_non_alphanumeric': 0.20285714285714285, 'fraction_numerical': 0.004897959183673469, 'mean_word_length': 4.05360824742268, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '2389294', 'n_tokens_mistral': 961, 'n_tokens_neox': 856, 'n_words': 199}