diff --git a/partitioncloud/templates/components/add_partition.html b/partitioncloud/templates/components/add_partition.html index 00acdaa..71567e8 100644 --- a/partitioncloud/templates/components/add_partition.html +++ b/partitioncloud/templates/components/add_partition.html @@ -6,6 +6,8 @@
{% if partition_uuid %} + {% else %} +
{% endif %} \ No newline at end of file diff --git a/partitioncloud/templates/partition/details.html b/partitioncloud/templates/partition/details.html index 64495bd..f637f52 100644 --- a/partitioncloud/templates/partition/details.html +++ b/partitioncloud/templates/partition/details.html @@ -68,7 +68,7 @@ {{ _("Attachments") }} - {% set _ = partition.load_attachments() %} + {{ partition.load_attachments() }} {% if partition.attachments %} {% set number=partition.attachments | length %} diff --git a/partitioncloud/templates/partition/edit.html b/partitioncloud/templates/partition/edit.html index b7950d1..b5179a6 100644 --- a/partitioncloud/templates/partition/edit.html +++ b/partitioncloud/templates/partition/edit.html @@ -39,7 +39,7 @@ {{ _("Attachments") }} - {% set _ = partition.load_attachments() %} + {{ partition.load_attachments() }} {% if partition.attachments %} {% set number=partition.attachments | length %}