summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-11-17 11:38:39 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-11-17 11:38:39 +0000
commitbb06d7e39f7f21ab877e9829596279bd4a226930 (patch)
tree03b4d41a605d8e6f603b8ef0e2a697c9a9e19e88
parent671219a285c9a8efb9ebec6214b66435f7fa0da4 (diff)
downloadredmine-bb06d7e39f7f21ab877e9829596279bd4a226930.tar.gz
redmine-bb06d7e39f7f21ab877e9829596279bd4a226930.zip
Marks name field in custom query creation/edit form as required (#41778).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23288 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/queries/_form.html.erb9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index 27391e8ef..213fb4890 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -6,8 +6,13 @@
<%= hidden_field_tag 'calendar', '1' if params[:calendar] %>
<%= hidden_field_tag 'admin_projects', '1' if params[:admin_projects] %>
-<p><label for="query_name"><%=l(:field_name)%></label>
-<%= text_field 'query', 'name', :size => 80 %></p>
+<p>
+ <label for="query_name">
+ <%= l(:field_name) %>
+ <span class="required">*</span>
+ </label>
+ <%= text_field 'query', 'name', :size => 80 %>
+</p>
<p><label for="query_description"><%=l(:field_description)%></label>
<%= text_field 'query', 'description', :size => 80 %></p>