Sha256: 0685fadcafc7d0fbd9aaecd6fd8b32ca49cbcf8a14540c7f930fd9044ee159a9

Contents?: true

Size: 1.61 KB

Versions: 52

Compression:

Stored size: 1.61 KB

Contents

<div class="col l8 m10 s10 offset-l2 offset-m1 offset-s1 center">
A SMS with an One-Time-Password was sent to <%= resource.additional_login_param %>. Please enter it below to complete verification.
<% if defined?(intent) == nil %>
	<% intent = "" %>
<% end %>
<% if !resource.nil? %>
	<%= form_for(resource, as: resource.class.name.underscore, url: verify_otp_url(resource.class.name.underscore.downcase.pluralize,{:intent => intent}), remote: true, :authenticity_token => true, data: {type: "script"}, html: {id: "otp_form"}, method: "GET") do |f| %>
	
	<div class="input-field">
	    <input autofocus="autofocus" type="text" value="" name="<%= resource.class.name.downcase %>[otp]" id="<%= resource.class.name.downcase %>_otp">
	    <label for="<%= resource.class.name.downcase %>_otp" class="">Enter the OTP sent on your mobile</label>
	    <input type="hidden" value="<%= resource.additional_login_param %>" name="<%= resource.class.name.downcase %>[additional_login_param]" id="<%= resource.class.name.downcase %>_additional_login_param"></input>
	</div>
	<div style="text-align:center; padding-top:1.5rem; padding-bottom:1.5rem;" id="recaptcha_tags">
    	<% if Auth.configuration.recaptcha %>
			<%= recaptcha_tags %>
		<% end %>
  	</div>
  	
	<%= f.submit "Log In",  id: "otp_form_submit", style: "display:none;" %>
	<% end %>
	<div class="m-20-bottom" id="otp_submit">
    
      <i class="mdi-hardware-keyboard-tab grey-text center cursor-pointer" style="height:60px; width:60px; border:1px solid #9e9e9e; border-radius:5px; font-size:1.8em; padding-top:0.75rem; text-align:center;" id="submit_icon"></i>
    
    </div>
<% end %>
</div>

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
wordjelly-auth-1.5.3 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.2 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.1 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.0 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.9 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.8 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.7 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.6 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.5 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.4 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.3 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.2 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.4.0 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.9 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.8 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.7 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.6 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.5 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.3 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.3.2 app/views/auth/modals/_new_otp_input.html.erb