%inherit file="/base.mako"/>
<%namespace file="/message.mako" import="render_msg" />
%if redirect_url:
%endif
<%def name="javascripts()">
${parent.javascripts()}
%def>
%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' ) %>