Add button and description to login page

This commit is contained in:
Alex Sherman 2020-09-30 19:02:33 +05:00
parent 42488b4ee8
commit 40af20ef47
2 changed files with 9 additions and 11 deletions

View file

@ -19,16 +19,10 @@
<hr>
<%#= link_to '/registrar/login/mid', id: 'login-with-mobile-id-btn' do %>
<%#= image_tag 'mid.gif' %>
<%# end %>
<%#= link_to registrar_id_card_sign_in_path, method: :post do %>
<%#= image_tag 'id_card.gif' %>
<%# end %>
<%= link_to "/auth/tara", method: :post, class: "ui button big primary" do %>
<%= image_tag 'id_card.gif' %>
<% end %>
<div id="tara-sign-in" class="login-block ui segment">
<h3><%= t('.sign_in_with_identity_document') %></h3>
<p><%= t('.identity_document_text')%></p>
<%= link_to t(:sign_in), "/auth/tara", method: :post, class: 'btn btn-lg btn-primary btn-block' %>
</div>
</div>
</div>

View file

@ -4,6 +4,10 @@ en:
new:
header_html: Eesti Interneti SA<br>Registrar Portal
submit_btn: Login
sign_in_with_identity_document: "Sign in with identity document"
identity_document_text: |
Sign in using Estonian (incl. e-residents) ID card, mobile ID,
Bank link or other EU citizen's electronic ID supported by EIDAS.
login_mid:
header: Log in with mobile-id
submit_btn: Login