Skip to content

Commit

Permalink
Added template for details.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolesen committed Dec 12, 2010
1 parent b59862a commit 05a2160
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/IntrafacePublic/Newsletter/templates/details.tpl.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<h1><?php e(t('Newsletter'))?></h1>

<form action="<?php e(url('.')); ?>" method="post">

<?php if (isset($message)): ?>
<p class="alert"><?php e(t($message)); ?></p>
<?php endif; ?>

<fieldset class="details-customer clearfix">
<legend><?php e(t('Please fill in your informations below')); ?></legend>

<div class="row">
<label for="name"><?php e(t('Name')); ?></label>
<input type=text name="name" value="<?php if(!empty($name)) e($name); ?>" />
</div>

<div class="row">
<label for="email"><?php e(t('E-mail')); ?></label>
<input type="text" name="email" value="<?php if(!empty($email)) e($email); ?>" />
</div>

<div class="row">
<label for="subscribe"><?php e(t('Subscribe')); ?></label>
<input value="1" id="subscribe" type="radio" name="mode" checked="checked" />
</div>

<div class="row">
<label for="unsubscribe"><?php e(t('Unsubscribe')); ?></label>
<input value="2" id="unsubscribe" type="radio" name="mode" /> Please leave a note: <input type="text" name="comment" value="" /></div>

</fieldset>
<div>
<input value="Save" type="submit" />
</div>
</form>

0 comments on commit 05a2160

Please sign in to comment.