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 5f7805f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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
5 changes: 1 addition & 4 deletions dandiapi/api/views/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ def auth_token_view(request: Request) -> HttpResponseBase:
{'question': 'Affiliation(s)', 'max_length': 1000},
{'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.)',
'question': 'Please describe how your research project will utilize DANDI resources.',
'max_length': 1000,
},
]
Expand Down

0 comments on commit 5f7805f

Please sign in to comment.