Success message upon domain renewal

This commit is contained in:
Al Beano 2017-07-16 18:22:42 +01:00
parent e3d00d0683
commit a824b5d67c
2 changed files with 8 additions and 1 deletions

View File

@ -67,7 +67,7 @@ post '/domains/new' => sub {
); );
template 'redir' => { template 'redir' => {
"redir" => "../domains", "redir" => "../domains?new=$name",
}; };
}; };

View File

@ -2,6 +2,13 @@
<br /> <br />
<h1>Your Domains</h1> <h1>Your Domains</h1>
<br /> <br />
<% IF params.new %>
<div class="msgBox">
The domain '<% params.new | html_entity %>.cyb' was registered successfully!
</div>
<br /><br />
<% END %>
</center> </center>
<div class="body"> <div class="body">