Sha256: 0b6cdc2b3301aa2ff871995186724ac0b212eb0e186d79114057a972f3eeab12

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

- title ||= _("Select a repository")
- field ||= "repository_id"
- record ||= nil


#repo_selector
  %table
    %thead
      %tr
        %th #{title}

    -if editable
      %tr
        %td
          %form#add_repository_form
            %div #{_('Choose a repository:')}

            #select_container
              .spinner
              .success
                = _("Saved")
              = repo_selector(repositories, save_url, field, record)

    - else
      %tr
        %td
          = record.puppet_repository.try(:name) || _('No puppet repository selected.')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/common/_repo_selector.html.haml
katello-1.5.0 app/views/katello/common/_repo_selector.html.haml