## -*- coding: utf-8 -*- <%inherit file="base/root.html"/> <%namespace file="base/social_buttons.html" import="render_social_buttons"/> <%def name="title()"> ${_('Create an Account')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif
<%include file="/base/flash_msg.html"/>
${h.form(url('register'), needs_csrf_token= False)} ${h.text('username', c.form_data.get('username'))} ${h.password('password', c.form_data.get('password'))} ${h.password('password_confirmation', c.form_data.get('password'))} ${h.text('firstname')} ${h.text('lastname')} ${h.text('email', c.form_data.get('email'))} %if c.captcha_active:
${h.hidden('recaptcha_field')}
%endif %if not c.auto_active:

${_('Account activation requires admin approval.')}

%endif

${c.register_message|n}

${h.submit('sign_up',_('Create Account'),class_="btn sign-in")} ${h.end_form()}
% if c.social_plugins:

${_('Register using one of external services')}:

${render_social_buttons(c.social_plugins, 'register')}

% endif
%if c.captcha_active: %endif