-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d45a670
commit c47068c
Showing
9 changed files
with
137 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
39 changes: 39 additions & 0 deletions
39
dm_regional_app/templates/dm_regional_app/views/exit_rates.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% extends "dm_regional_app/base.html" %} | ||
{% load crispy_forms_tags %} | ||
{% load table_tags %} | ||
|
||
|
||
{% block content %} | ||
<br> | ||
<h1>Adjust transition rates</h1> | ||
<br> | ||
<p>You may want to edit the number of children per year entering a placement type to give a more accurate | ||
picture of future forecasting or simply to explore what changes you may expect to see. <br><br> | ||
Rates are applied to the daily population of children. For example, a rate of 0.5 from Fostering to Residential means | ||
that each day, 50% of children in Fostering will move to Residential.<br> | ||
</p> | ||
<div class="table-responsive"> | ||
<table id="transition-rate" class="table table-hover"> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<thead> | ||
{{ exit_rate_table | convert_data_frame_to_html_table_headers_form | safe}} | ||
</thead> | ||
<tbody> | ||
{{ exit_rate_table | convert_data_frame_to_html_table_rows_form:form | safe}} | ||
<tr> | ||
<td colspan="2"> | ||
<div class="p-2 bd-highlight"><a class="btn btn-secondary" href="adjusted">Back</a></div> | ||
</td> | ||
<td> | ||
<div class="p-2 bd-highlight"><button type="submit" class="btn btn-primary">Save</button></div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</form> | ||
</table> | ||
</div> | ||
|
||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters