Skip to content

Commit

Permalink
Registration code input for CaaSP (FATE#322328)
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Jan 23, 2017
1 parent b5be495 commit af6fc6f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/lib/registration/widgets/registration_code.rb
@@ -0,0 +1,35 @@
# encoding: utf-8

# ------------------------------------------------------------------------------
# Copyright (c) 2017 SUSE LLC
#
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of version 2 of the GNU General Public License as published by the
# Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, contact SUSE.
#
# To contact SUSE about this file by physical or electronic mail, you may find
# current contact information at www.suse.com.
# ------------------------------------------------------------------------------

require "yast"
require "cwm/widget"

module Widgets
class RegistrationCode < CWM::InputField
def initialize
textdomain "registration"
end

def label
_("Registration Code or SMT Server URL")
end
end
end

0 comments on commit af6fc6f

Please sign in to comment.