diff --git a/kallithea/templates/admin/my_account/my_account_api_keys.html b/kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html @@ -57,9 +57,17 @@
- -
+ +
+
+ +
${h.text('description', class_='form-control', placeholder=_('Description'))} +
+
+
+ +
${h.select('lifetime', '', c.lifetime_options)}
diff --git a/kallithea/templates/admin/users/user_edit_api_keys.html b/kallithea/templates/admin/users/user_edit_api_keys.html --- a/kallithea/templates/admin/users/user_edit_api_keys.html +++ b/kallithea/templates/admin/users/user_edit_api_keys.html @@ -57,13 +57,20 @@
- -
+ +
+
+ +
${h.text('description', class_='form-control', placeholder=_('Description'))} +
+
+
+ +
${h.select('lifetime', '', c.lifetime_options)}
-
${h.submit('save',_('Add'),class_="btn btn-default")}