mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Don't display the "User Info" select field when registering as a new user of editing your information as an existing user unless there are existing form definitions that provide options for selection.
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
${subscribe_check_box.get_html()}
|
||||
</div>
|
||||
%endif
|
||||
%if user_type_fd_id_select_field:
|
||||
%if len( user_type_fd_id_select_field.options ) > 1:
|
||||
<div class="form-row">
|
||||
<label>User type</label>
|
||||
${user_type_fd_id_select_field.get_html()}
|
||||
|
||||
@@ -13,7 +13,7 @@ ${render_user_info()}
|
||||
<div class="toolForm">
|
||||
<form name="user_info" id="user_info" action="${h.url_for( controller='user', action='edit_info', cntrller=cntrller, user_id=trans.security.encode_id( user.id ) )}" method="post" >
|
||||
<div class="toolFormTitle">User information</div>
|
||||
%if user_type_fd_id_select_field:
|
||||
%if len( user_type_fd_id_select_field.options ) > 1:
|
||||
<div class="form-row">
|
||||
<label>User type:</label>
|
||||
${user_type_fd_id_select_field.get_html()}
|
||||
|
||||
Reference in New Issue
Block a user