mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +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-bottom: 40px
|
||||
|
||||
.form-signin
|
||||
.form-signin-heading,
|
||||
.form-signin
|
||||
.checkbox
|
||||
margin-bottom: 10px
|
||||
|
||||
.form-signin
|
||||
max-width: 330px
|
||||
padding: 15px
|
||||
|
|
|
@ -16,10 +16,6 @@ class Registrar
|
|||
search_params[:registrant_domains_id_not_null] = 1
|
||||
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]
|
||||
contacts = current_registrar_user.registrar.contacts.includes(:registrar).where(
|
||||
"contacts.statuses @> ?::varchar[]", "{#{params[:statuses_contains].join(',')}}"
|
||||
|
|
|
@ -16,14 +16,8 @@
|
|||
required: true,
|
||||
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' %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= render 'links' %>
|
||||
<%= render 'links' %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue