Skip to content

Commit

Permalink
Merge branch 'development' into import-user-logging-crontab
Browse files Browse the repository at this point in the history
  • Loading branch information
hoerstl authored Jan 16, 2025
2 parents 3c76f03 + fbb44c7 commit b9d97f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/controllers/serviceLearning/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def slcEditProposal(courseID):
abort(403)


@serviceLearning_bp.route('/serviceLearning/createCourse', methods=['POST'])
@serviceLearning_bp.route('/serviceLearning/createCourse', methods=['GET'])
def slcCreateCourse():
"""will give a new course ID so that it can redirect to an edit page"""
course = createCourse(g.current_user)
Expand Down
4 changes: 1 addition & 3 deletions app/templates/admin/manageServiceLearningFaculty.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ <h2>Unapproved</h2>
</div>
<div class="col">
<div align="right">
<form method="post" action="/serviceLearning/createCourse">
<button class="btn btn-success btn-sm mr" type='Submit'>Add Course</button>
</form>
<a class="btn btn-success btn-sm mr" href="/serviceLearning/createCourse">Add Course</a>
</div>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions app/templates/serviceLearning/slcManagement.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ <h1 class="text-center mb-2">{{user.firstName}} {{user.lastName}}'s SLC Proposal
{% endif %}
</div>
<div align="right">
<form method="post" action="/serviceLearning/createCourse" >
<button class="btn btn-primary" type = 'Submit'>Create Course Proposal</button>
</form>
<a class="btn btn-primary" href='/serviceLearning/createCourse'>Create Course Proposal</a>
</div>
<div class="modal fade" id="withdrawModal" tabindex="-1" aria-labelledby="withdrawModalLabel" aria-hidden="true">
<div class="modal-dialog">
Expand Down

0 comments on commit b9d97f0

Please sign in to comment.