Skip to content

Commit

Permalink
Merge pull request #20 from pydata/proposal-edit
Browse files Browse the repository at this point in the history
fixes #19 so that proposals can be edited
  • Loading branch information
codersquid committed Mar 16, 2015
2 parents 4e92d3e + 9024cb5 commit fb6643a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion conf_site/templates/proposals/proposal_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{% load i18n %}
{% load account_tags %}
{% load bootstrap %}

{% block head_title %}{{ proposal.title }}{% endblock %}

Expand Down Expand Up @@ -62,7 +63,11 @@ <h3>{% trans 'Supporting Documents' %}</h3>
{% else %}
<p>{% trans 'No supporting documents attached to this proposal.' %}</p>
{% endif %}
<a class="btn btn-sm{% if proposal.cancelled %} btn-disabled{% endif %}" href="{% url proposal_document_create proposal.pk %}"><i class="fa fa-upload"></i> {% trans 'Add Document' %}</a>

<a class="btn btn-sm{% if proposal.cancelled %} btn-disabled{% endif %}"
href="{% url "proposal_document_create" proposal.pk %}">
<i class="fa fa-upload"></i> {% trans 'Add Document' %}</a>

</div>
{% endif %}

Expand Down
4 changes: 2 additions & 2 deletions conf_site/templates/proposals/proposal_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "proposals/base.html" %}

{% load bootstrap_tags %}
{% load markitup %}
{% load bootstrap %}
{% load markitup_tags %}

{% block head_title %}Editing {{ proposal.title }}{% endblock %}

Expand Down

0 comments on commit fb6643a

Please sign in to comment.