Sha256: 5f5de1af130b55cb3ef17ff6bc77e04c8d41b0379710724ff5bae75b319de265
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
<script src="https://www.google.com/recaptcha/api.js" async defer></script> <div class="grid_start login_bg"> <div class="fourty grid offset_by_twenty_five mt_60 login"> <h1>Notee</h1> <p>Notee is creating blog gem by only one command</p> <%= form_tag(tokens_path, :class => 'mt_50', :id => 'syncer-recaptcha-form') do %> <h3>ID:</h3> <%= text_field_tag :id, "", :disabled => Rails.env.production? %> <h3>PASSWORD:</h3> <%= password_field_tag :password, "", :disabled => Rails.env.production? %> <% if Rails.env.production? %> <div data-callback="syncerRecaptchaCallback" class="g-recaptcha mt_30" data-sitekey="<%= Notee.recaptcha_key %>"></div> <% end %> <%= submit_tag "ログイン", :disabled => Rails.env.production?, :class => 'full grid mt_50' %> <% end %> </div> </div> <script> function syncerRecaptchaCallback( code ){ if(code != ""){ $( '#syncer-recaptcha-form input , #syncer-recaptcha-form button, #syncer-recaptcha-form textarea' ).removeAttr( 'disabled' ) ; } } </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
Version data entries
4 entries across 4 versions & 1 rubygems