pseudo_member/app/views/pseudo_members/confirm_reset_email.html.erb

25 lines
884 B
Plaintext

<% data = action_data %>
<%= form_for data["puser"], :url => update_pseudo_user_path, html: {class: "form-horizontal"} do |f|%>
<h3>Confirm Password</h3>
<div class="form-group">
<label class="col-sm-2 control-label muted"><%= t("pseudo_member.password") %></label>
<div class="col-sm-8">
<%= f.password_field :password %>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label muted"><%= t("pseudo_member.password_confirmation") %></label>
<div class="col-sm-8">
<%= f.password_field :password_confirmation %>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-8">
<input type="hidden" value="<%= data["puser"].id.to_s %>" name="puser_id" />
<input type="submit" value="Register" class="btn btn-primary">
</div>
</div>
<% end %>