mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-23 19:10:30 +02:00
UX updates for domain create
This commit is contained in:
parent
a5fe1be070
commit
a449077291
3 changed files with 111 additions and 90 deletions
|
@ -55,12 +55,18 @@ class DomainsController extends Controller
|
|||
// Default view for GET requests or if POST data is not set
|
||||
return view($response,'admin/domains/check.twig');
|
||||
}
|
||||
|
||||
|
||||
public function create(Request $request, Response $response)
|
||||
{
|
||||
return view($response,'admin/domains/create.twig');
|
||||
$db = $this->container->get('db');
|
||||
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
||||
|
||||
// Default view for GET requests or if POST data is not set
|
||||
return view($response,'admin/domains/create.twig', [
|
||||
'registrars' => $registrars,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
public function transfers(Request $request, Response $response)
|
||||
{
|
||||
return view($response,'admin/domains/transfers.twig');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue