Skip to content

Commit

Permalink
Removed include from submit_info, removed old comment, removed varial…
Browse files Browse the repository at this point in the history
…be include no longer needed.
  • Loading branch information
ajrbyers committed Apr 18, 2024
1 parent 96fab55 commit 5d5a115
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/templates/admin/elements/fundref/fundref.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
});
});

// Clear the HTML, display the table and reinitialize foundation
funder_span.html(table);
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/admin/submission/edit/metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,5 @@ <h5>Add funder</h5>
}
}
</script>
{% include 'admin/elements/fundref/fundref.html' with funder_form=funder_form %}
{% include 'admin/elements/fundref/fundref.html' %}
{% endblock js %}
2 changes: 1 addition & 1 deletion src/templates/admin/submission/submit_funding.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,6 @@ <h5>{% trans 'Add funder' %}</h5>
{allowSpaces: true});
});
</script>
{% include "admin/elements/fundref/fundref.html" with funder_form=funder_form %}
{% include "admin/elements/fundref/fundref.html" %}

{% endblock %}
2 changes: 0 additions & 2 deletions src/templates/admin/submission/submit_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,4 @@ <h2 id="licensetitle">{% trans 'License Information' %}</h2>
{allowSpaces: true});
});
</script>
{% include 'elements/fundref/fundref.html' %}

{% endblock %}

0 comments on commit 5d5a115

Please sign in to comment.