Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix erb_lint fix of replacing closing input tag with an input tag

Ivan Kuchin4cf82b9b5380
diff --git a/app/views/repositories/destroy_info.html.erb b/app/views/repositories/destroy_info.html.erb
index 0cb12e60b74..2c7e70c6063 100644
--- a/app/views/repositories/destroy_info.html.erb
+++ b/app/views/repositories/destroy_info.html.erb
@@ -58,7 +58,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= t("repositories.destroy.repository_verification", identifier: "<em class=\"danger-zone--expected-value\">#{h(@project.identifier)}</em>").html_safe %>
</p>
<div class="danger-zone--verification">
- <input type="text"><input>
+ <input type="text">
<%= styled_button_tag project_repository_path(@project),
method: :delete,
title: t(:button_delete),
diff --git a/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb b/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb
index 128c781c4cf..e86bbb09b9d 100644
--- a/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb
+++ b/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb
@@ -17,7 +17,7 @@
Enter your login <em class="danger-zone--expected-value">[email protected]</em> to verify the deletion.
</p>
<div class="danger-zone--verification">
- <input type="text"><input>
+ <input type="text">
<button class="button -primary" disabled>
<i class="button--icon icon-delete"></i>
<span class="button--text">Delete</span>
diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb
index 2102ca2d3c1..08b3c7cf367 100644
--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb
+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb
@@ -57,7 +57,7 @@
</p>
<div class="danger-zone--verification">
- <input type="text"><input>
+ <input type="text">
<%= styled_button_tag title: t(:button_delete), class: "-primary", disabled: true do
concat content_tag :i, "", class: "button--icon icon-delete"
concat content_tag :span, t(:button_delete), class: "button--text"
diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb
index f854a2975d6..c0d14bbf6b3 100644
--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb
+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb
@@ -24,7 +24,7 @@
).html_safe %>
</p>
<div class="danger-zone--verification">
- <input type="text"><input>
+ <input type="text">
<%= styled_button_tag title: t(:button_delete), class: "-primary", disabled: true do
concat content_tag :i, "", class: "button--icon icon-delete"
concat content_tag :span, t(:button_delete), class: "button--text"