Skip to content

Instantly share code, notes, and snippets.

@yeriepiscesa
Last active April 20, 2019 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yeriepiscesa/b7e4aeab563e1ba72daa910ffcc921ce to your computer and use it in GitHub Desktop.
Save yeriepiscesa/b7e4aeab563e1ba72daa910ffcc921ce to your computer and use it in GitHub Desktop.
<div class="sp-form-contact">
<form method="get" action="">
<?php
$fieldset_open = false;
if( isset( $atts['form_title'] ) && $atts['form_title'] != '' ): ?>
<fieldset>
<?php $fieldset_open = true; ?>
<legend><?php echo $atts['form_title'] ?></legend>
<?php endif; ?>
<div class="row">
<div class="col-<?php echo $col[0] ?>">
<input type="text" placeholder="Nama Anda" id="sp-contact-name">
</div>
<div class="col-<?php echo $col[1] ?>">
<input type="text" placeholder="Kota Asal" id="sp-contact-city">
</div>
<div class="col-<?php echo $col[2] ?>">
<button class="button" id="sp-form-contact-button">
<i class="fa fa-whatsapp"></i>&nbsp;&nbsp;Mulai
</button>
</div>
</div>
<?php if( $fieldset_open ): ?>
</fieldset>
<?php endif; ?>
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment