display instructions if any
This commit is contained in:
@@ -82,4 +82,9 @@
|
|||||||
width: 84px;
|
width: 84px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wiaas-delivery-process-step-instructions {
|
||||||
|
padding: 10px 50px;
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
@@ -25,7 +25,15 @@ if ($is_current_step) {
|
|||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
//Gravity_Flow_Entry_Detail::maybe_show_instructions(true, true, $step->get_form(), $form, $step->get_entry());
|
|
||||||
|
if ($step->instructionsEnable) {
|
||||||
|
|
||||||
|
$instructions = $step->instructionsValue;
|
||||||
|
$instructions = GFCommon::replace_variables( $instructions, $step->get_form(), $step->get_entry(), false, false, true );
|
||||||
|
$instructions = do_shortcode( $instructions );
|
||||||
|
|
||||||
|
echo '<div class="wiaas-delivery-process-step-instructions">' . $instructions . '</div>';
|
||||||
|
}
|
||||||
|
|
||||||
$action_form = GFAPI::get_form( $step->target_form_id );
|
$action_form = GFAPI::get_form( $step->target_form_id );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user