Fix invalid HTML

This commit is contained in:
Artur Beljajev 2018-01-11 17:00:21 +02:00
parent 3d13456e29
commit 8744445cd2
3 changed files with 11 additions and 7 deletions

View file

@ -49,7 +49,7 @@
%footer.footer
.container
%row
.row
.col-md-6
= image_tag 'eis-logo-et.png'
.col-md-6.text-right

View file

@ -1,17 +1,20 @@
<%= render 'shared/title', name: t(:domains) %>
<div class="page-header">
<h1><%= t '.header' %></h1>
</div>
<div class="row">
<div class="col-md-12">
<%= search_form_for [:registrant, @q], html: { style: 'margin-bottom: 0;', autocomplete: 'off' } do |f| %>
<%= search_form_for [:registrant, @q], html: { autocomplete: 'off' } do |f| %>
<div class="row">
<div class="col-md-3">
<div class="form-group">
<%= f.label :name %>
<%= f.label :name, for: nil %>
<%= f.search_field :name_matches, value: params[:q][:name_matches], class: 'form-control', placeholder: t(:name) %>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<%= f.label t(:registrant_ident) %>
<%= f.label t(:registrant_ident), for: nil %>
<%= f.search_field :registrant_ident_eq, class: 'form-control', placeholder: t(:registrant_ident) %>
</div>
</div>
@ -19,13 +22,13 @@
<div class="row">
<div class="col-md-3">
<div class="form-group">
<%= f.label t(:valid_to_from) %>
<%= f.label t(:valid_to_from), for: nil %>
<%= f.search_field :valid_to_gteq, value: params[:q][:valid_to_gteq], class: 'form-control js-datepicker', placeholder: t(:valid_to_from) %>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<%= f.label t(:valid_to_until) %>
<%= f.label t(:valid_to_until), for: nil %>
<%= f.search_field :valid_to_lteq, value: params[:q][:valid_to_lteq], class: 'form-control js-datepicker', placeholder: t(:valid_to_until) %>
</div>
</div>

View file

@ -2,6 +2,7 @@ en:
registrant:
domains:
index:
header: Domains
registrant: Registrant
reset_btn: Reset