Skip to content

Commit

Permalink
Insert hidden field in the month from and to so that the group/realm …
Browse files Browse the repository at this point in the history
…etc is maintained if resetting time frame
  • Loading branch information
sfisher committed Sep 18, 2024
1 parent f5fdb80 commit 5dfd0b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/dashboard/_totalIdsByMonth.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ <h2 class="heading-sub__icon-4">{% trans "Total Identifiers Created By Month" %}
<div class="dashboard__month-range">
<div class="fcontrol__select-group-inline">
<form id="month_from_form" action="/dashboard" role="form">
<input name="owner_selected" type="hidden" value="{{ owner_selected|default_if_none:'' }}"/>
<input name="month_to" type="hidden" value="{{month_to}}"/>
<label for="month_from" class="fcontrol__select-label-hidden">{% trans "Month From" %}</label>
<select id="month_from" name="month_from" class="fcontrol__select">
Expand All @@ -19,6 +20,7 @@ <h2 class="heading-sub__icon-4">{% trans "Total Identifiers Created By Month" %}
</form>
&nbsp;&nbsp;to&nbsp;&nbsp;
<form id="month_to_form" action="/dashboard" role="form">
<input name="owner_selected" type="hidden" value="{{ owner_selected|default_if_none:'' }}"/>
<input name="month_from" type="hidden" value="{{month_from}}"/>
<label for="month_to" class="fcontrol__select-label-hidden">{% trans "Month To" %}</label>
<select id="month_to" name="month_to" class="fcontrol__select">
Expand Down

0 comments on commit 5dfd0b7

Please sign in to comment.