Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
28bd6b87
Commit
28bd6b87
authored
Oct 21, 2019
by
tleb
Browse files
uv: make autofill available on edit page
parent
419a48ac
Pipeline
#2117
failed with stage
in 44 minutes
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pedagogy/templates/pedagogy/uv_
create
.jinja
→
pedagogy/templates/pedagogy/uv_
edit
.jinja
View file @
28bd6b87
File moved
pedagogy/views.py
View file @
28bd6b87
...
...
@@ -294,7 +294,7 @@ class UVCreateView(CanCreateMixin, CreateView):
model
=
UV
form_class
=
UVForm
template_name
=
"pedagogy/uv_
create
.jinja"
template_name
=
"pedagogy/uv_
edit
.jinja"
def
get_form_kwargs
(
self
):
kwargs
=
super
(
UVCreateView
,
self
).
get_form_kwargs
()
...
...
@@ -326,7 +326,7 @@ class UVUpdateView(CanEditPropMixin, UpdateView):
model
=
UV
form_class
=
UVForm
pk_url_kwarg
=
"uv_id"
template_name
=
"
core/
edit.jinja"
template_name
=
"
pedagogy/uv_
edit.jinja"
def
get_form_kwargs
(
self
):
kwargs
=
super
(
UVUpdateView
,
self
).
get_form_kwargs
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment