Fix blank button not resetting project template value
The button didn't override a value, so the old value was posted again.
This commit is contained in:
parent
0f74ba9672
commit
3611b664a9
|
@ -1,6 +1,6 @@
|
|||
.project-templates-buttons.import-buttons{ data: { toggle: "buttons" } }
|
||||
.btn.blank-option.active
|
||||
%input{ type: "radio", autocomplete: "off", name: "project_templates", id: "blank", checked: "true" }
|
||||
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: "blank", checked: "true", value: "" }
|
||||
= icon('file-o', class: 'btn-template-icon')
|
||||
Blank
|
||||
- Gitlab::ProjectTemplate.all.each do |template|
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix new project form not resetting the template value
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in New Issue