Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link review tips to professor review/add forms #78

Merged
merged 5 commits into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion home/forms/professor_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ def generate_layout(self):
css_class="no_select review-left-wrapper"
),
Div(
content,
content,
anonymous,
HTML(f'<a href="{reverse("about")}#tips" style="float:right; font-size:15px">Not sure what to write?</a>'),
content_errors,
css_id=f"review-right-wrapper-{self.form_type.value}",
css_class="review-right-wrapper"
Expand Down
2 changes: 1 addition & 1 deletion home/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h2>About</h2>
<h3>Goal</h3>
<p>Our goal is to provide information that will help all students at UMD make informed decisions.</p>

<h3>Review Writing Tips</h3>
<h3 id="tips" style="scroll-margin-top: 5rem;">Review Writing Tips</h3>
<p>If you're not sure what to write, here are some suggestions to get you started:</p>
<ul>
<li>Did you think the exams or other major assignments were fair?</li>
Expand Down