]> source.dussan.org Git - redmine.git/commitdiff
Marks name field in custom query creation/edit form as required (#41778).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 17 Nov 2024 11:38:39 +0000 (11:38 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 17 Nov 2024 11:38:39 +0000 (11:38 +0000)
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23288 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/queries/_form.html.erb

index 27391e8ef9dcc1ed6d7c0f1957ddd39df13c1770..213fb48906b385ccc86c210f07ae85a32f925b5a 100644 (file)
@@ -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>