2023-02-04 23:34:39 +01:00
|
|
|
{% extends "admin/base_admin.html.twig" %}
|
2019-04-28 13:08:06 +02:00
|
|
|
|
|
|
|
{% block card_title %}
|
|
|
|
<i class="fas fa-microchip fa-fw"></i> {% trans %}footprint.labelp{% endtrans %}
|
2019-10-03 14:04:09 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block master_picture_block %}
|
|
|
|
{{ form_row(form.master_picture_attachment) }}
|
|
|
|
{{ form_row(form.footprint_3d) }}
|
2020-05-11 22:59:25 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block edit_title %}
|
|
|
|
{% trans %}footprint.edit{% endtrans %}: <a href="{{ path('part_list_footprint', {'id': entity.id}) }}">{{ entity.name }}</a>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block new_title %}
|
|
|
|
{% trans %}footprint.new{% endtrans %}
|
2023-07-16 22:59:46 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block additional_controls %}
|
|
|
|
{{ form_row(form.alternative_names) }}
|
2023-12-01 22:47:05 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block additional_pills %}
|
|
|
|
<li class="nav-item"><a data-bs-toggle="tab" class="nav-link link-anchor" href="#eda">{% trans %}part.edit.tab.eda{% endtrans %}</a></li>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block additional_panes %}
|
|
|
|
<div class="tab-pane" id="eda">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-9 offset-sm-3">
|
|
|
|
<h6>{% trans %}eda_info.kicad_section.title{% endtrans %}:</h6>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ form_row(form.eda_info.kicad_footprint) }}
|
|
|
|
</div>
|
2019-04-28 13:08:06 +02:00
|
|
|
{% endblock %}
|