Skip to content

Commit

Permalink
Use the required and aria with email type
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Falken committed Oct 8, 2014
1 parent d595939 commit 4072f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com_osdownloads/site/views/item/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<?php endif;?>

<?php if ($this->item->require_email || $this->item->show_email):?>
<div class="osdownloadsemail"><?php echo(JText::_("Email"));?> <?php if ($this->item->require_email):?>(*)<?php endif;?>: <input type="text" name="require_email" id="require_email" /></div>
<div class="osdownloadsemail"><?php echo(JText::_("Email"));?> <?php if ($this->item->require_email):?>(*)<?php endif;?>: <input type="email" aria-required="true" required name="require_email" id="require_email" /></div>
<?php endif;?>

<?php if ($this->item->description_2):?>
Expand Down

0 comments on commit 4072f2b

Please sign in to comment.