mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 09:16:25 +01:00
Fix recently introduced bugs
This commit is contained in:
parent
74444871c0
commit
c219f28a37
@ -6,6 +6,8 @@
|
||||
<textarea id="lyrics" name="body" type="text" placeholder="{{ _('lyrics') }}"></textarea><br/>
|
||||
{% if partition_uuid %}
|
||||
<input name="partition-uuid" value="{{ partition_uuid }}" type="hidden">
|
||||
{% else %}
|
||||
<input name="file" type="file" accept=".pdf" required=""><br/>
|
||||
{% endif %}
|
||||
<input type="submit" value="{{ _('Add') }}" />
|
||||
</form>
|
@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ _("Attachments") }}</td>
|
||||
{% set _ = partition.load_attachments() %}
|
||||
{{ partition.load_attachments() }}
|
||||
<td><a href="/partition/{{ partition.uuid }}/attachments">
|
||||
{% if partition.attachments %}
|
||||
{% set number=partition.attachments | length %}
|
||||
|
@ -39,7 +39,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ _("Attachments") }}</td>
|
||||
{% set _ = partition.load_attachments() %}
|
||||
{{ partition.load_attachments() }}
|
||||
<td><a href="/partition/{{ partition.uuid }}/attachments">
|
||||
{% if partition.attachments %}
|
||||
{% set number=partition.attachments | length %}
|
||||
|
Loading…
Reference in New Issue
Block a user