Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ietf/liaisons/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def render(self, name, value, **kwargs):
html += '<span class="d-none attachRequiredField">%s</span>' % conditional_escape(i)
required_str = 'Please fill in %s to attach a new file' % conditional_escape(self.required_label)
html += '<span class="d-none attachDisabledLabel">%s</span>' % conditional_escape(required_str)
html += '<button type="button" class="addAttachmentWidget btn btn-primary btn-sm">%s</button>' % conditional_escape(self.label)
html += '<button type="button" id="{}" class="addAttachmentWidget btn btn-primary btn-sm">{}</button>'.format(
f"id_{name}", conditional_escape(self.label)
)
return mark_safe(html)


Expand Down
Loading