arina-ielchiieva commented on a change in pull request #1994: DRILL-7203:
Accept impersonation userName as form field & fix back button for query page
URL: https://github.com/apache/drill/pull/1994#discussion_r385699746
##########
File path: exec/java-exec/src/main/resources/rest/query/query.ftl
##########
@@ -43,15 +43,13 @@
<#include "*/runningQuery.ftl">
- <#if model.isOnlyImpersonationEnabled()>
- <div class="form-group">
- <label for="userName">User Name</label>
- <input type="text" size="30" name="userName" id="userName"
placeholder="User Name">
- </div>
- </#if>
-
<form role="form" id="queryForm" action="/query" method="POST">
+ <#if model.isOnlyImpersonationEnabled()>
<div class="form-group">
+ <label for="userName">UserName</label>
Review comment:
Please add space between words as before.
```suggestion
<label for="userName">User Name</label>
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services