-
if is_mobile_request? %div{‘data-role’ => ‘header’,‘data-theme’=>“b”}
= link_to "Home", root_url, 'data-role' => 'button' ,'data-icon'=>'home' %h2=t "devise.unlocks.new.resend_unlock_instructions"
%div{‘data-role’ => ‘content’}
= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| = devise_error_messages! %div.field.fieldcontain.ui-hide-label = f.label :email = f.email_field :email .center-button=f.submit t("devise.unlocks.new.resend_unlock_instructions") ,'data-inline'=>"true" ,'data-theme'=>"b", 'data-icon'=>"arrow-r" = render :partial => "devise/shared/links"
-else
%h2=t "devise.unlocks.new.resend_unlock_instructions" = form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| = devise_error_messages! %p = f.label :email %br/ = f.email_field :email %p= f.submit t "devise.unlocks.new.resend_unlock_instructions" = render :partial => "devise/shared/links"