From c0aa7c79258ea8409611da710dc802e3481c34d8 Mon Sep 17 00:00:00 2001
From: Sam Wilkins <samuel_wilkins@brown.edu>
Date: Tue, 11 Jun 2019 14:19:51 -0400
Subject: fixed the temporary inability to add documents :(

---
 src/client/views/Templates.tsx | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'src/client/views/Templates.tsx')

diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx
index df53284ed..e4a9258b7 100644
--- a/src/client/views/Templates.tsx
+++ b/src/client/views/Templates.tsx
@@ -39,20 +39,20 @@ export class Template {
 export namespace Templates {
     // export const BasicLayout = new Template("Basic layout", "{layout}");
 
-    // export const Caption = new Template("Caption", TemplatePosition.OutterBottom,
-    //     `<div>
-    //         <div style="height:100%; width:100%;position:absolute;">{layout}</div>
-    //         <div style="bottom: 0; font-size:14px; width:100%; position:absolute">
-    //             <FormattedTextBox {...props} fieldKey={"caption"} hideOnLeave={"true"} />
-    //         </div>
-    //     </div>` );
-
     export const Caption = new Template("Caption", TemplatePosition.OutterBottom,
         `<div>
             <div style="height:100%; width:100%;position:absolute;">{layout}</div>
-            <DetailedCaptionToggle {...props}/>
+            <div style="bottom: 0; font-size:14px; width:100%; position:absolute">
+                <FormattedTextBox {...props} fieldKey={"caption"} hideOnLeave={"true"} />
+            </div>
         </div>` );
 
+    // export const Caption = new Template("Caption", TemplatePosition.OutterBottom,
+    //     `<div>
+    //         <div style="height:100%; width:100%;position:absolute;">{layout}</div>
+    //         <DetailedCaptionToggle {...props}/>
+    //     </div>` );
+
     export const TitleOverlay = new Template("TitleOverlay", TemplatePosition.InnerTop,
         `<div>
             <div style="height:100%; width:100%;position:absolute;">{layout}</div>
-- 
cgit v1.2.3-70-g09d2

