From 22a65dc262dc619db66c1ba12a8d85cde5df4a10 Mon Sep 17 00:00:00 2001 From: Mike Andrewartha Date: Thu, 22 Oct 2015 17:57:51 +1300 Subject: [PATCH] MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons --- templates/Includes/UserFormActionNav.ss | 7 +++++++ templates/Includes/UserFormStepNav.ss | 5 +---- templates/UserForm.ss | 6 +++++- 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 templates/Includes/UserFormActionNav.ss diff --git a/templates/Includes/UserFormActionNav.ss b/templates/Includes/UserFormActionNav.ss new file mode 100644 index 0000000..c63aee3 --- /dev/null +++ b/templates/Includes/UserFormActionNav.ss @@ -0,0 +1,7 @@ +<% if $Actions %> + +<% end_if %> \ No newline at end of file diff --git a/templates/Includes/UserFormStepNav.ss b/templates/Includes/UserFormStepNav.ss index da66d5e..61c1e7f 100644 --- a/templates/Includes/UserFormStepNav.ss +++ b/templates/Includes/UserFormStepNav.ss @@ -1,7 +1,5 @@ + \ No newline at end of file diff --git a/templates/UserForm.ss b/templates/UserForm.ss index 1810b1e..852e967 100644 --- a/templates/UserForm.ss +++ b/templates/UserForm.ss @@ -17,6 +17,10 @@
-<% include UserFormStepNav %> +<% if $Steps.Count > 1 %> + <% include UserFormStepNav %> +<% else %> + <% include UserFormActionNav %> +<% end_if %>