Sha256: ea642dde36ea3e8d7e1755f56be11719414f6fab59d09f76f0809c86de3fb0e7
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 KB
Contents
= javascript do :plain localize({ "edit_environment": '#{escape_javascript(_('Edit Environment'))}' }); - if @environment = content_for :title do #{_("New distributor")} = content_for :content do .full = kt_form_for(Katello::Distributor.new, :action => "create", :id => "new_distributor") do |form| = hidden_field_tag 'distributor[environment_id]', @environment.id .grid_8#new_distributor = form.text_field :name, :label => _("Name of Your Distributor:") = form.field :environment, :label => envsys ? _("Environment:") : _("Choose Environment:") do - if envsys = @environment.name - else = environment_selector(:path_widget_class => "grid_10", :path_entries_class => "grid_10", :library_clickable => true, :accessible_envs => accessible_envs, :url_products_proc => url_products_proc, :url_content_views_proc => url_content_views_proc) = form.field :content_view_id, :label => _("Content View:") do = content_view_select(current_organization, @environment) = form.field :version, :label => _("Version:") do %select{:id => "distributor_version", :name => "distributor[version]"} - distributor_versions.each do |v| %option{:value => v["name"], :selected => (v["name"] == selected_dist_version)} #{v["displayName"]} = form.submit _("Save") - else = content_for :title do #{_("New distributor")} = content_for :content do #{_("You need to create an environment for this org before you can create a distributor.")} = render :template => "katello/layouts/tupane_layout"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-2.2.2 | app/views/katello/distributors/_new.html.haml |