-
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.
children entering care table and page added
- Loading branch information
1 parent
6749731
commit a743bcb
Showing
8 changed files
with
165 additions
and
6 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
39 changes: 39 additions & 0 deletions
39
dm_regional_app/templates/dm_regional_app/views/entry_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 entry rates</h1> | ||
<br> | ||
<p>You may want to edit the number of children per year entering care 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 to 10-16 Fostering | ||
would mean that every two days a child would enter this placement.<br> | ||
</p> | ||
<div class="table-responsive"> | ||
<table id="transition-rate" class="table table-hover"> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<thead> | ||
{{ entry_rate_table | convert_data_frame_to_html_table_headers_form | safe}} | ||
</thead> | ||
<tbody> | ||
{{ entry_rate_table | convert_data_frame_to_html_table_rows_form:form | safe}} | ||
<tr> | ||
<td colspan="3"> | ||
<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