Sha256: 43eef7ab3b789a2327b01e060906cbe31d4cc4a68e7ecac87c5d3630a62c4214

Contents?: true

Size: 1.61 KB

Versions: 7

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="material-icons 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">keyboard_tab</i>
    
    </div>
<% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.9 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.8 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.7 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.6 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.5 app/views/auth/modals/_new_otp_input.html.erb
wordjelly-auth-1.5.4 app/views/auth/modals/_new_otp_input.html.erb