<%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> %if redirect_url: %endif <%def name="javascripts()"> ${parent.javascripts()} %if not redirect_url and message: ${render_msg( message, status )} %endif ## An admin user may be creating a new user account, in which case we want to display the registration form. ## But if the current user is not an admin user, then don't display the registration form. %if ( cntrller=='admin' and trans.user_is_admin() ) or not trans.user: ${render_registration_form()} %if trans.app.config.get( 'terms_url', None ) is not None:

Terms and Conditions for use of this service

%endif %endif <%def name="render_registration_form( form_action=None )"> <% if form_action is None: form_action = h.url_for( controller='user', action='create', cntrller=cntrller ) from galaxy.web.form_builder import CheckboxField subscribe_check_box = CheckboxField( 'subscribe' ) %>
Create account
%if t.webapp.name == 'galaxy':
Your public name is an identifier that will be used to generate addresses for information you share publicly. Public names must be at least four characters in length and contain only lower-case letters, numbers, and the '-' character.
%else:
Your public name provides a means of identifying you publicly within this tool shed. Public names must be at least four characters in length and contain only lower-case letters, numbers, and the '-' character. You cannot change your public name after you have created a repository in this tool shed.
%endif
%if trans.app.config.smtp_server:
%if subscribe_checked: <% subscribe_check_box.checked = True %> %endif ${subscribe_check_box.get_html()}

See all Galaxy project mailing lists.

%endif %if user_type_fd_id_select_field and len( user_type_fd_id_select_field.options ) >= 1:
${user_type_fd_id_select_field.get_html()}
%endif %if user_type_form_definition: %for field in widgets:
${field['widget'].get_html()}
${field['helptext']}
%endfor %if not user_type_fd_id_select_field: %endif %endif
If you see this, please leave following field blank.
%if registration_warning_message:
${registration_warning_message}
%endif