{% load attachments_tags seizou_icons %} {# 部品の取引先の行の見積書の枡 (masters/_item_partners.html が、添付ファイルの部品がある会社でだけ include する)。その行に付けた添付ファイルの名前を、ログインした人にだけ返す口の link (新しいタブ) で並べ、下に「見積書を付ける」(小窓。備考の初めの値に「見積書」= 入力の土台が GET の値を写す。種類は既定のまま)。行ごとに 1 回の問い合わせ。 #} {% attachments_for row.obj as quotes %}{% content_type_id row.obj as quote_ct %}
{% for quote in quotes %}{% icon "file" "size-4" %}{{ quote.original_name }}{% endfor %} {% icon "paperclip" "size-4" %}見積書を付ける