Commit 475613c4 by Alto

Отобразил доп поля

1 parent 00dc19e7
...@@ -17,11 +17,11 @@ function fenix_calc ($atts, $content) ...@@ -17,11 +17,11 @@ function fenix_calc ($atts, $content)
'<div class="row">'. '<div class="row">'.
'<h1>'.$atts['title'].'</h1>'. '<h1>'.$atts['title'].'</h1>'.
'<div class="col-12 col-md-3">'. '<div class="col-12 col-md-3">'.
'<div class="mb-3 d-none">'. '<div class="mb-3">'.
'<label for="calc_inv_'.$atts['id'].'" class="form-label mb-3">Поступление кредита, руб</label>'. '<label for="calc_inv_'.$atts['id'].'" class="form-label mb-3">Поступление кредита, руб</label>'.
'<input type="number" class="form-control rounded-pill p-2 px-4" id="calc_credit_'.$atts['id'].'" name="calc_credit" required="required" value="8329753" min="0" max="10000000" />'. '<input type="number" class="form-control rounded-pill p-2 px-4" id="calc_credit_'.$atts['id'].'" name="calc_credit" required="required" value="8329753" min="0" max="10000000" />'.
'</div>'. '</div>'.
'<div class="mb-3 d-none">'. '<div class="mb-3">'.
'<label for="calc_inv_'.$atts['id'].'" class="form-label mb-3">Инвестиции в проект, тыс. руб</label>'. '<label for="calc_inv_'.$atts['id'].'" class="form-label mb-3">Инвестиции в проект, тыс. руб</label>'.
'<input type="number" class="form-control rounded-pill p-2 px-4" id="calc_inv_'.$atts['id'].'" name="calc_inv" required="required" value="0" min="0" max="10000000" />'. '<input type="number" class="form-control rounded-pill p-2 px-4" id="calc_inv_'.$atts['id'].'" name="calc_inv" required="required" value="0" min="0" max="10000000" />'.
'</div>'. '</div>'.
...@@ -38,7 +38,7 @@ function fenix_calc ($atts, $content) ...@@ -38,7 +38,7 @@ function fenix_calc ($atts, $content)
'<input type="number" class="form-control rounded-pill p-2 px-4" id="calc_discont_'.$atts['id'].'" name="calc_discont" required="required" value="15" min="0" max="100" />'. '<input type="number" class="form-control rounded-pill p-2 px-4" id="calc_discont_'.$atts['id'].'" name="calc_discont" required="required" value="15" min="0" max="100" />'.
'</div>'. '</div>'.
'</div>'. '</div>'.
'<div class="col-12 col-md-9">'. '<div class="col-12 col-md-9 text-center">'.
'<table class="table table-striped table-hover table-bordered table_result"></table>'. '<table class="table table-striped table-hover table-bordered table_result"></table>'.
( (
has_post_thumbnail($post->ID)? has_post_thumbnail($post->ID)?
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!