diff options
Diffstat (limited to 'app/views/layouts/admin.rhtml')
-rw-r--r-- | app/views/layouts/admin.rhtml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml new file mode 100644 index 000000000..947e65d33 --- /dev/null +++ b/app/views/layouts/admin.rhtml @@ -0,0 +1,21 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> + <title>FOIFA admin: <%=controller.controller_name %> <%= controller.action_name %></title> + <%= stylesheet_link_tag 'scaffold' %> +</head> +<body> + +<p><b>FOIFA admin interface:</b> +<%= link_to 'Public bodies', :controller => 'admin_public_body', :action => 'list' %> +</p> + +<p style="color: green"><%= flash[:notice] %></p> + +<%= yield %> + +</body> +</html> |