Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathankamau committed Apr 3, 2017
1 parent 77ad52f commit 44628de
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions templates/accounts/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,27 @@ <h1 class="settings-title">Settings</h1>
{% csrf_token %}
<h2>Monthly Reports</h2>
<label>
<!-- Radio button to select daily reports-->
<input
name="reports_allowed"
value="daily"
type="radio"
{% if profile.reports_allowed and reports_allowed == "daily" %} checked {% endif %}>
Send me daily reports.<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send me daily reports.<br>
<!-- Radio button to select weekly reports-->
<input
name="reports_allowed"
value="weekly"
type="radio"
{% if profile.reports_allowed and reports_allowed == "weekly" %} checked {% endif %}>
Send me weekly reports.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send me weekly reports.<br>
<!-- Radio button to select monthly reports-->
<input
name="reports_allowed"
value="monthly"
type="radio"
{% if profile.reports_allowed and reports_allowed == "monthly" %} checked {% endif %}>
Send me monthly reports.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Send me monthly reports.
</label>
<button
name="update_reports_allowed"
Expand Down Expand Up @@ -75,6 +77,7 @@ <h2>Set Password</h2>


</div>
<!--New row to handle bootstrap layout error-->
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
Expand Down

0 comments on commit 44628de

Please sign in to comment.