Skip to content

Commit

Permalink
Fix issue #228 - missing add image
Browse files Browse the repository at this point in the history
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
  • Loading branch information
goneall committed Sep 7, 2020
1 parent 45a731f commit 2ab9062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def render(self, name, value, *args, **kwargs):
output = [super(RelatedFieldWidgetCanAdd, self).render(name, value, *args, **kwargs)]
output.append(u'<a href="%s" class="add-another" id="add_id_%s" onclick="return showAddAnotherPopup(this);"> ' % \
(self.related_url, name))
output.append(u'<img src="%sadmin/img/icon_addlink.gif" width="10" height="10" alt="%s"/></a>' % (settings.STATIC_URL, _('Add Another')))
output.append(u'<img src="%simages/addAttribute.png" width="12" height="12"/> %s</a>' % (settings.STATIC_URL, _('Add Another')))
return mark_safe(u''.join(output))

0 comments on commit 2ab9062

Please sign in to comment.