mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #4634 from luisramos0/remove_dead_code
Remove some dead code
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
module Spree
|
||||
class User < ActiveRecord::Base
|
||||
include Core::UserBanners
|
||||
|
||||
devise :database_authenticatable, :token_authenticatable, :registerable, :recoverable,
|
||||
:rememberable, :trackable, :validatable, :encryptable, encryptor: 'authlogic_sha512'
|
||||
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
%tr{"data-hook" => "address1"}
|
||||
%td
|
||||
= t(:admin_shared_address_1):
|
||||
%td= f.text_field :address1
|
||||
%tr{"data-hook" => "address2" }
|
||||
%td
|
||||
= t(:admin_shared_address_2):
|
||||
%td= f.text_field :address2
|
||||
%tr{"data-hook" => "city" }
|
||||
%td
|
||||
= t(:admin_share_city):
|
||||
%td= f.text_field :city
|
||||
%tr{"data-hook" => "zipcode" }
|
||||
%td
|
||||
= t(:admin_share_zipcode):
|
||||
%td= f.text_field :zipcode
|
||||
%tr{"data-hook" => "country" }
|
||||
%td
|
||||
= t(:admin_share_country):
|
||||
%td= f.collection_select(:country_id, available_countries, :id, :name)
|
||||
%tr{"data-hook" => "state" }
|
||||
%td
|
||||
= t(:admin_share_state):
|
||||
%td= f.collection_select(:state_id, f.object.country.states, :id, :name)
|
||||
Reference in New Issue
Block a user