[Jifty-commit] r7145 - jifty/trunk/lib/Jifty/Plugin/SetupWizard

Jifty commits jifty-commit at lists.jifty.org
Mon Jun 1 19:19:03 EDT 2009


Author: sartak
Date: Mon Jun  1 19:19:03 2009
New Revision: 7145

Modified:
   jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm

Log:
Display the setupwizard step in a form

Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm	Mon Jun  1 19:19:03 2009
@@ -26,8 +26,12 @@
     div {
         class is 'setupwizard-step';
 
-        h3 { $step_info->{header} } if $step_info->{header};
-        show "/__jifty/admin/setupwizard/$step_info->{template}";
+        form {
+            h3 { $step_info->{header} } if $step_info->{header};
+
+            show "/__jifty/admin/setupwizard/$step_info->{template}";
+            form_submit(label => _('Save'));
+        };
     };
 
     div {


More information about the Jifty-commit mailing list