DRYed layout, created print css, restricted deleting
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title><%= controller.controller_name.capitalize %>: <%= controller.action_name %></title>
|
||||
<%= stylesheet_link_tag 'scaffold', :media => "all" %>
|
||||
<%= stylesheet_link_tag 'print', :media => "print" %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="topnav">
|
||||
<div id="topnav" class="noprint">
|
||||
<b><a href="/quicksign/new">Quicksign</a></b>
|
||||
<a href="/signers">Signers</a>
|
||||
<a href="/contracts">Contracts</a>
|
||||
@@ -1,23 +0,0 @@
|
||||
<!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><%= controller.controller_name.capitalize %>: <%= controller.action_name %></title>
|
||||
<%= stylesheet_link_tag 'scaffold', :media => "all" %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="topnav">
|
||||
<b><a href="/quicksign/new">Quicksign</a></b>
|
||||
<a href="/signers">Signers</a>
|
||||
<a href="/contracts">Contracts</a>
|
||||
<a href="/contract_templates">Templates</a>
|
||||
</div>
|
||||
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,23 +0,0 @@
|
||||
<!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>Signers: <%= controller.action_name %></title>
|
||||
<%= stylesheet_link_tag 'scaffold', :media => "all" %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="topnav">
|
||||
<b><a href="/quicksign/new">Quicksign</a></b>
|
||||
<a href="/signers">Signers</a>
|
||||
<a href="/contracts">Contracts</a>
|
||||
<a href="/contract_templates">Templates</a>
|
||||
</div>
|
||||
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user