template 'account/set_username' => sub {
wrapper {
h2 { 'Pick a username' };
p {
"Select a username that you'd like to use on [doqueue]"
};
form {
attr { method => 'post',
action => c->uri_for('/account/set_username'),
};
label {
attr { for => 'desired_name' };
'Username'
};
input {
attr { id => 'desired_name',
name => 'desired_name',
type => 'text',
};
};
input {
attr { type => 'submit',
name => 'submit',
value => 'Go',
};
}
}
}
};