mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Add Registrant User
This commit is contained in:
parent
412ececd9c
commit
ca2183817a
8 changed files with 57 additions and 51 deletions
|
@ -2,15 +2,8 @@
|
|||
.form-signin.col-md-6.center-block.text-center
|
||||
%h2.form-signin-heading.text-center= t(:log_in)
|
||||
%hr
|
||||
= form_for @depp_user, url: registrant_sessions_path, html: {class: 'form-signin'} do |f|
|
||||
= render 'registrar/shared/errors', object: f.object
|
||||
|
||||
- error_class = f.object.errors.any? ? 'has-error' : ''
|
||||
%div{class: error_class}
|
||||
= f.text_field :tag, class: 'form-control', placeholder: t(:username), required: true
|
||||
= f.password_field :password, class: 'form-control', placeholder: t(:password), required: true
|
||||
|
||||
%button.btn.btn-lg.btn-primary.btn-block{:type => 'submit'}= t(:log_in)
|
||||
= link_to '/registrant/id', method: :post do
|
||||
= image_tag 'id_card.gif'
|
||||
|
||||
%hr
|
||||
-# = link_to '/regisrant/login/mid' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue