textinput design update

This commit is contained in:
Daniel 2014-04-18 22:40:09 +02:00
commit 54ace236d7
2 changed files with 5 additions and 3 deletions

View file

@ -1,11 +1,11 @@
<form method="post">
<form method="post" class="textinput">
<p>
<?php foreach($texts as $i => &$text) : ?>
<?php if($i > 0) : ?>
<input type="text" name="answers[<?=$i-1?>]" value="<?=$regexs[$i-1]['answer']?>" />
<?php endif ?>
<?=$t->t($text)?>
<?php endforeach ?>
<br /><br />
</p>
<input type="submit" name="submit" value="<?=_('solve')?>" />
</form>