Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Sith
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AE
Sith
Commits
28bd6b87
Commit
28bd6b87
authored
Oct 21, 2019
by
tleb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pedagogy/templates/pedagogy/uv_edit.jinja
pedagogy/templates/pedagogy/uv_edit.jinja
+0
-0
pedagogy/views.py
pedagogy/views.py
+2
-2
No files found.
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