Update initial number of repetitions

This commit is contained in:
Gabriel Augendre 2018-03-04 21:46:46 +01:00
parent 93ffa1ae85
commit 5335337fb4
No known key found for this signature in database
GPG key ID: F360212F958357D4

View file

@ -308,7 +308,7 @@ class RoundCreateView(LoginRequiredMixin, QuickActionsMixin, generic.CreateView)
initial = super().get_initial()
initial['equipment'] = self.equipment
initial['session'] = self.session_pk
initial['repetition_number'] = 3
initial['repetition_number'] = 12
initial['theoretical_max_percentage'] = theoretical_max_percentage
proposed_weight = 0
theoretical_max = self.equipment.last_theoretical_max