{% from "templates/autodoc/macros.html" import automodule, version, github_link, doctype_link, discuss_link %} {% set doc = frappe.get_doc("DocType", doctype) %} {% set controller = autodoc.get_controller(doctype) %}
{{ version(doctype) }} {{ github_link(app, app.name + "/" + scrub(doc.module) + "/doctype/" + scrub(doctype), True) }}
{% if doc.issingle %}Single{% endif %} {% if doc.istable %}Child Table{% endif %} {% if not doc.issingle %}Table Name: tab{{ doctype }}
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
{{ loop.index }} | {{ df.fieldname }} |
{{ df.fieldtype }} |
{{ df.label or "" }}
{% if df.description %} {{ df.description }} {% endif %} |
{% if df.options and df.fieldtype not in ("HTML") %}
{% if df.fieldtype in ("Table", "Link") %}
{{ doctype_link(df.options) }}
{% else %}{{ df.options }}{% endif %} {% endif %} |