mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-12 09:20:45 +08:00
Switched to use of recaptcha_input_tag helper method [SCI-706]
This commit is contained in:
parent
698e07a3b5
commit
592ed802b2
1 changed files with 1 additions and 10 deletions
|
|
@ -31,16 +31,7 @@
|
||||||
<span><small><%= t 'users.registrations.new.team_name_help' %></small></span>
|
<span><small><%= t 'users.registrations.new.team_name_help' %></small></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if Rails.configuration.x.enable_recaptcha %>
|
<%= recaptcha_input_tag %>
|
||||||
<div class="form-group <%= 'has-error' if flash[:recaptcha_error] %>">
|
|
||||||
<%= recaptcha_tags %>
|
|
||||||
<% if flash[:recaptcha_error] %>
|
|
||||||
<span class="help-block">
|
|
||||||
<%= flash[:recaptcha_error] %>
|
|
||||||
</span>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<%= f.submit "Sign Up", class: "btn btn-primary" %>
|
<%= f.submit "Sign Up", class: "btn btn-primary" %>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue