Skip to content
Permalink
Browse files

Added some back links

  • Loading branch information...
Alex Young
Alex Young committed Nov 22, 2010
1 parent de51d04 commit 50ec3676a6b1a1bc21516ec2ce1ea72843778a9b
@@ -34,3 +34,14 @@ a.button {
a.button:hover {
background-color: #efefef;
}
h2 a.button {
margin-left: 10px;
}
form div {
padding: 0 0 20px 0;
}
textarea {
width: 400px;
height: 400px;
clear: both;
}
@@ -28,3 +28,17 @@ a.button {
a.button:hover {
background-color: #efefef;
}

h2 a.button {
margin-left: 10px
}

form div {
padding: 0 0 20px 0;
}

textarea {
width: 400px;
height: 400px;
clear: both;
}
@@ -1,4 +1,7 @@
h2 Edit Document
p
a(href='/documents', class='button')
← All Documents
form(method='post', action='/documents/' + d.id)
input(name='document[id]', value=d.id, type='hidden')
input(name='_method', value='PUT', type='hidden')
@@ -1,4 +1,7 @@
h2 New Document
p
a(href='/documents', class='button')
← All Documents
form(method='post', action='/documents')
!=partial('documents/fields', { locals: { d: d } })

@@ -1,3 +1,6 @@
h2=d.title
a(class='button', href='/documents/' + d.id + '/edit') Edit
p
a(href='/documents', class='button')
← All Documents
p=d.data
@@ -1,8 +1,9 @@
div
label Title:
input(name='document[title]', value=d.title || '')
input(name='document[title]', value=d.title || '')
div
label Note:
div
textarea(name='document[data]')
=d.data || ''
div

0 comments on commit 50ec367

Please sign in to comment.
You can’t perform that action at this time.