bebeboutik/modules/contactform/provider.tpl
Alexandre Simonet 715132c7e6 Front mobile
2016-02-24 15:33:47 +01:00

92 lines
3.7 KiB
Smarty

<h1 class="module-contactform-h1">{l s='Formulaire de contact fournisseur' mod='contactform'}</h1>
<ul class="idTabs module-contactform-idTabs">
<li><a href="/modules/contactform/provider.php" class="selected">{l s='Fournisseur' mod='invite'}</a></li>
<li><a href="/modules/contactform/press.php" >{l s='Presse' mod='invite'}</a></li>
</ul>
<div class="sheets module-contactform-sheets clear" style="padding: 20px 20px;" class="module-contactform-sheets">
<div id="idTab1">
{if $_POST}
{if $result|is_array}
{foreach from=$result item=error}
<p class="bold text" style="color: red">{$error}</p>
{/foreach}
{else}
<p class="bold text">{l s='Votre message à été envoye' mod='contactform'}</p>
{/if}
{/if}
<form action="/modules/contactform/provider.php" method="post">
<div>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="brand">{l s='Marque' mod='contactform'}*</label>
<input type="text" name="brand" id="brand">
</p>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="compagny">{l s='Entreprise' mod='contactform'}*</label>
<input type="text" name="compagny" id="compagny">
</p>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="function">{l s='Fonction' mod='contactform'}*</label>
<input type="text" name="function" id="function">
</p>
</div>
<div>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="lastname">{l s='Nom' mod='contactform'}*</label>
<input type="text" name="lastname" id="lastname">
</p>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="firstname">{l s='Prénom' mod='contactform'}*</label>
<input type="text" name="firstname" id="firstname">
</p>
</div>
<div>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="email1">{l s='Email' mod='contactform'}*</label>
<input type="text" name="email1" id="email1">
</p>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="email2">{l s='Email secondaire' mod='contactform'}</label>
<input type="text" name="email2" id="email2">
</p>
</div>
<div>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="phone1">{l s='Téléphone' mod='contactform'}*</label>
<input type="text" name="phone1" id="phone1">
</p>
<p class="text module-contactform-input-group" style="display: inline-block">
<label for="phone2">{l s='Téléphone secondaire' mod='contactform'}</label>
<input type="text" name="phone2" id="phone2">
</p>
</div>
<p class="text module-contactform-input-group">
<label for="purpose">{l s='Proposition' mod='contactform'}*</label>
<input type="text" name="purpose" id="purpose">
</p>
<p class="text module-contactform-input-group">
<label for="content">{l s='Message' mod='contactform'}*</label>
<textarea name="content" id="content" cols="65" rows="10"></textarea>
</p>
<input type="hidden" name="type" value="{Contactform::TYPE_PROVIDER}">
<button type="submit" id="SubmitLogin" class="btn_box login_box module-contactform-button">{l s='Envoyer' mod='contactform'}</button>
</form>
</div>
</div>