~yeliabmas/sloecode/wiki_mvp

« back to all changes in this revision

Viewing changes to sloecode/wikkidviewadapters/edit.py

  • Committer: Sam Bailey
  • Date: 2012-07-11 22:42:42 UTC
  • Revision ID: yeliabmas@gmail.com-20120711224242-kcdretmyido1yrtd
Preview working except for source code, where style is not applied

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
                self.fragments['cancel_url'] = self.view.cancel_url
33
33
                self.fragments['template'] = '/wiki/edit.html'
34
34
                self.log.info(self.view.content)
 
35
 
 
36
                try:
 
37
                        self.fragments['preview'] = self.view.preview_content
 
38
                except:
 
39
                        pass
35
40
                
36
41
                return self.fragments
 
 
b'\\ No newline at end of file'