Update initial number of repetitions
This commit is contained in:
parent
93ffa1ae85
commit
5335337fb4
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class RoundCreateView(LoginRequiredMixin, QuickActionsMixin, generic.CreateView)
|
||||||
initial = super().get_initial()
|
initial = super().get_initial()
|
||||||
initial['equipment'] = self.equipment
|
initial['equipment'] = self.equipment
|
||||||
initial['session'] = self.session_pk
|
initial['session'] = self.session_pk
|
||||||
initial['repetition_number'] = 3
|
initial['repetition_number'] = 12
|
||||||
initial['theoretical_max_percentage'] = theoretical_max_percentage
|
initial['theoretical_max_percentage'] = theoretical_max_percentage
|
||||||
proposed_weight = 0
|
proposed_weight = 0
|
||||||
theoretical_max = self.equipment.last_theoretical_max
|
theoretical_max = self.equipment.last_theoretical_max
|
||||||
|
|
Loading…
Reference in a new issue