spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmation_requests/new.html.erb in nyauth-0.4.0 vs spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmation_requests/new.html.erb in nyauth-0.5.0
- old
+ new
@@ -1,4 +1,8 @@
+<div class="nyauth-error-messages">
+ <%= @service.errors.full_messages.join(',') %>
+</div>
+
<%= form_for @service, url: confirmation_requests_path_for(nyauth_client_name) do |f| %>
- <%= f.email_field :email %>
- <%= f.submit 'request confirmation' %>
+ <%= f.email_field :email, placeholder: 'email' %>
+ <%= f.submit t('nav.nyauth.common.send') %>
<% end %>