Actions
Defect #41778
closedName field in custom query creation/edit form is not marked as required
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
The name field in the custom query creation/edit form is a required field but lacks the visual indication (red asterisk) to show it is mandatory.
The following patch fixes the issue:
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index 27391e8ef..5f7c43502 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -6,7 +6,7 @@
<%= 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>
+<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>
Files
Updated by Marius BĂLTEANU 1 day ago
- Status changed from New to Resolved
- Assignee set to Marius BĂLTEANU
- Target version set to 5.1.5
- Resolution set to Fixed
Committed, thanks!
Updated by Marius BĂLTEANU about 23 hours ago
- Status changed from Resolved to Closed
Actions