Permalink
Browse files

Don't show other tabs in Edit mode.

  • Loading branch information...
1 parent 7849e8e commit b6aa254658162753a59c778b84fe77ed83cc9be8 John MacFarlane committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Network/Gitit2.hs
View
@@ -870,7 +870,7 @@ showEditForm :: HasGitit master
-> GH master RepHtml
showEditForm page route enctype form = do
makePage pageLayout{ pgName = Just page
- , pgTabs = [ViewTab,EditTab,HistoryTab,DiscussTab]
+ , pgTabs = [EditTab]
, pgSelectedTab = EditTab } $ do
[whamlet|
<h1>#{page}</h1>

0 comments on commit b6aa254

Please sign in to comment.