app/views/users/_form.html.erb in home_page-0.0.3 vs app/views/users/_form.html.erb in home_page-0.0.4
- old
+ new
@@ -12,11 +12,13 @@
<%= f.input :password %>
<%= f.input :password_confirmation %>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9">
- <%= recaptcha_tags if resource.new_record? && (Rails.env == 'production' || Rails.env == 'development') %>
+ <% if resource.new_record? && (Rails.env == 'production') %>
+ <%= recaptcha_tags %>
<br/>
+ <% end %>
<%= f.button :submit %>
<br/>
<br/>
<%= render 'devise/shared/links' if resource.new_record? %>
</div>
\ No newline at end of file