mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-30 06:49:32 +00:00
Moved the part related templates into its own folder.
This commit is contained in:
parent
8d36bf913d
commit
33631f16cf
4 changed files with 325 additions and 330 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{% extends "main_card.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans with {'%name%': part.name} %}part.edit.title{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block card_title %}
|
||||
<i class="fas fa-edit fa-fw" aria-hidden="true"></i>
|
||||
{% trans with {'%name%': part.name} %}part.edit.card_title{% endtrans %}
|
||||
<b><a href="{{ part|entityURL('info') }}" class="text-white">{{ part.name }}</a></b>
|
||||
<div class="float-right">
|
||||
{% trans %}id.label{% endtrans %}: {{ part.id }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block card_content %}
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form) }}
|
||||
{{ form_end(form) }}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue