summaryrefslogtreecommitdiff
path: root/templates/list.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/list.hamlet')
-rw-r--r--templates/list.hamlet34
1 files changed, 17 insertions, 17 deletions
diff --git a/templates/list.hamlet b/templates/list.hamlet
index a69ef1d..59b0b5d 100644
--- a/templates/list.hamlet
+++ b/templates/list.hamlet
@@ -6,23 +6,23 @@
6 <div .tr .color> 6 <div .tr .color>
7 <div .td .kind>#{item} 7 <div .td .kind>#{item}
8 <div .td .type>#{itemType} 8 <div .td .type>#{itemType}
9 <form method=post enctype=#{nDraftEnc} .sepAbove .tr> 9 <form method=post enctype=#{nDraftEnc} .sepAbove .tr>
10 <div .td>
11 ^{nDraftView}
12 <div .td>
13 <button type=submit :Set.null list:disabled>
14 Save
15 $if not (null drafts')
16 <form method=post enctype=#{oDraftEnc} .tr>
10 <div .td> 17 <div .td>
11 ^{nDraftView} 18 ^{oDraftView}
12 <div .td> 19 <div .td>
13 <button type=submit :Set.null list:disabled> 20 <button type=submit :Set.null list:disabled>
14 Save 21 Append
15 $if not (null drafts') 22 $if not (null printers')
16 <form method=post enctype=#{oDraftEnc} .tr> 23 <form method=post enctype=#{printEnc} .tr>
17 <div .td> 24 <div .td>
18 ^{oDraftView} 25 ^{printView}
19 <div .td> 26 <div .td>
20 <button type=submit :Set.null list:disabled> 27 <button type=submit :Set.null list:disabled>
21 Append 28 Print
22 $if not (null printers')
23 <form method=post enctype=#{printEnc} .tr>
24 <div .td>
25 ^{printView}
26 <div .td>
27 <button type=submit :Set.null list:disabled>
28 Print