{% extends "layouts/default.html" %} {% block title %}Card Editor{% if card %} - {{ card.id }}{% endif %}{% endblock %} {% block content %}
{{ token | safe }}
{% if card %}
{% include "inventory/_edit_row.html" :form "edit-form" :name "name" :value card.name :title "Product Name" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "condition" :value card.condition :title "Condition" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "category" :value card.category :title "Category" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "name" :value card.name :title "Name" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "code" :value card.code :title "Code" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "edition" :value card.edition :title "Edition" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "passcode" :value card.passcode :title "Passcode" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "buy-price" :value card.buy-price :title "Buy Price" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "sell-price" :value card.sell-price :title "Sell Price" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "total-qty" :value card.total-qty :title "Total Qty" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "uri" :value card.uri :title "URI" %} {% include "inventory/_edit_row.html" :form "edit-form" :name "description" :value card.description :title "Description" %}
Field Value
Card Image Card Image for Yu-Gi-Oh! #{{card.passcode}} - {{card.name}}
{% else %}

Nothing to see here.

{% endif %}
{% endblock %}