Permalink
Browse files

Do not allow sending blank email address field

  • Loading branch information...
vmoravec committed Dec 20, 2012
1 parent 5fbf10d commit fbf6080d5854721abf0232296af1a5cdbe76d596
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/mailsetting/app/views/mailsetting/show.html.erb
@@ -118,7 +118,7 @@ relay.example.com:26. Use square brackets around the host name to prevent from D
<div class="fieldset_body">
<div class="row lastrow">
<label id="mail_test_mail_label"><%=_("Send test mail to")%></label>
- <%= f.text_field :test_mail_address, :disabled => disabled, :class => "email" %>
+ <%= f.text_field :test_mail_address, :disabled => disabled, :class => "email required" %>
<%= f.submit _("Send Mail"), :name => "send_mail" %>
<label for="mail_test_mail_address" generated="true" class="error"></label>
</div>

0 comments on commit fbf6080

Please sign in to comment.