mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +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>
|
||||
</div>
|
||||
|
||||
<% if Rails.configuration.x.enable_recaptcha %>
|
||||
<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 %>
|
||||
<%= recaptcha_input_tag %>
|
||||
|
||||
<div class="form-group">
|
||||
<%= f.submit "Sign Up", class: "btn btn-primary" %>
|
||||
|
|
Loading…
Reference in a new issue