Add link to "add a 1rm" to the list of 1rm
This commit is contained in:
parent
f5d4405c07
commit
b90c64cf5d
1 changed files with 5 additions and 0 deletions
|
@ -299,6 +299,11 @@ class TheoreticalMaxListView(LoginRequiredMixin, QuickActionsMixin, generic.List
|
|||
'category': 'secondary',
|
||||
'display': 'Retourner à la machine'
|
||||
},
|
||||
{
|
||||
'url': '{}?equipment={}'.format(reverse('theoretical-max-create'), self.equipment.pk),
|
||||
'category': 'success',
|
||||
'display': 'Ajouter un max théorique'
|
||||
},
|
||||
]
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue