mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 06:04:56 +02:00
Merge pull request #1386 from internetee/remove-dead-code
Remove dead code
This commit is contained in:
commit
214f301209
3 changed files with 1 additions and 17 deletions
|
@ -133,12 +133,6 @@ body.login
|
||||||
padding-top: 40px
|
padding-top: 40px
|
||||||
padding-bottom: 40px
|
padding-bottom: 40px
|
||||||
|
|
||||||
.form-signin
|
|
||||||
.form-signin-heading,
|
|
||||||
.form-signin
|
|
||||||
.checkbox
|
|
||||||
margin-bottom: 10px
|
|
||||||
|
|
||||||
.form-signin
|
.form-signin
|
||||||
max-width: 330px
|
max-width: 330px
|
||||||
padding: 15px
|
padding: 15px
|
||||||
|
|
|
@ -16,10 +16,6 @@ class Registrar
|
||||||
search_params[:registrant_domains_id_not_null] = 1
|
search_params[:registrant_domains_id_not_null] = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
if search_params.length == 1 && search_params[:name_matches].present?
|
|
||||||
@contacts = Contact.find_by(name: search_params[:name_matches])
|
|
||||||
end
|
|
||||||
|
|
||||||
if params[:statuses_contains]
|
if params[:statuses_contains]
|
||||||
contacts = current_registrar_user.registrar.contacts.includes(:registrar).where(
|
contacts = current_registrar_user.registrar.contacts.includes(:registrar).where(
|
||||||
"contacts.statuses @> ?::varchar[]", "{#{params[:statuses_contains].join(',')}}"
|
"contacts.statuses @> ?::varchar[]", "{#{params[:statuses_contains].join(',')}}"
|
||||||
|
|
|
@ -16,12 +16,6 @@
|
||||||
required: true,
|
required: true,
|
||||||
class: 'form-control' %>
|
class: 'form-control' %>
|
||||||
|
|
||||||
<% if devise_mapping.rememberable? -%>
|
|
||||||
<div class="checkbox">
|
|
||||||
<label><%= f.check_box :remember_me %> <%= t '.remember_checkbox' %> %></label>
|
|
||||||
</div>
|
|
||||||
<% end -%>
|
|
||||||
|
|
||||||
<%= f.submit t('.sign_in_btn'), class: 'btn btn-lg btn-primary btn-block' %>
|
<%= f.submit t('.sign_in_btn'), class: 'btn btn-lg btn-primary btn-block' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue