Skip to content

Commit

Permalink
Move admonition to its own div
Browse files Browse the repository at this point in the history
This helps avoid the "crowding" of text that occurs in the form field
itself.
  • Loading branch information
waxlamp committed Oct 22, 2024
1 parent ad03897 commit a88e613
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 7 additions & 0 deletions dandiapi/api/templates/api/account/questionnaire_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ <h6><b>Note:</b> No account is necessary to access public data!</h6>
{% for name, value in query_params.items %}
<input type="hidden" name="{{ name }}" value="{{ value }}">
{% endfor %}

<div>
<b><i>
Please note that users can freely search, view, and download public datasets without an account!
</b></i>
</div>

<button id="btn" class="btn waves-effect waves-light blue" type="submit" disabled>
<span>Submit</span>
<i class="material-icons right">send</i>
Expand Down
4 changes: 1 addition & 3 deletions dandiapi/api/views/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ def auth_token_view(request: Request) -> HttpResponseBase:
{'question': 'Lab/project website', 'max_length': 1000},
{
'question': 'Please describe how your research project will utilize'
' DANDI resources. (Please note that users can freely'
' search, view, and download public datasets without'
' an account.)',
' DANDI resources.',
'max_length': 1000,
},
]
Expand Down

0 comments on commit a88e613

Please sign in to comment.