app/views/devise/unlocks/new.html.erb
<% content_for :title_bar do %>
<span class="navbar-brand"><%= t('.resend_unlock_instructions') %></span>
<% end %>
<div class="row">
<div class="col-sm-12 col-md-6">
<div class="form-wrapper">
<% resource.team_slug = session[:team_slug] if session[:team_slug] %>
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<div class="field-wrapper">
<%= f.label :email %>
<div class="field"><%= f.email_field :email, autofocus: true %></div>
</div>
<div class="field-wrapper">
<%= f.label :team_slug %>
<div class="field"><%= f.text_field :team_slug, readonly: resource.team_slug.present? %></div>
</div>
<div class="actions"><%= f.submit t('.resend_unlock_instructions'), class: 'btn btn-primary pull-right' %></div>
<% end %>
</div>
</div>
<div class="col-sm-12 col-md-6">
<%= render partial: "devise/shared/links" %>
</div>
</div>