示例#1
0
 def update_success(self):
     self.render_html.update({
         'post_html':
         render_template('blog/admin/post_list_collapse_row.html',
                         chevron='fa fa-chevron-down',
                         post=self.post)
     })
     return CustomForm.update_success(self)
示例#2
0
 def update_success(self):
     self.render_html['content_html'] = self.content.text
     return CustomForm.update_success(self)
示例#3
0
 def update_success(self):
     self.render_html.update({'faq_html': render_template(
         'admin/faq/faq_list_collapse_row.html',
         chevron='fa fa-chevron-down',
         faq=self.faq)})
     return CustomForm.update_success(self)
示例#4
0
 def update_success(self):
     self.render_html.update({'admin_role_html': render_template(
         'admin/admin_roles/admin_role_list_collapse_row.html',
         chevron='fa fa-chevron-down',
         admin_role=self.role)})
     return CustomForm.update_success(self)
示例#5
0
 def update_success(self):
     self.render_html.update({'user_html': render_template(
         'admin/users/user_list_collapse_row.html',
         chevron='fa fa-chevron-down',
         user=self.user)})
     return CustomForm.update_success(self)