rosa-build/app/views/platforms/repositories/_form.html.slim

14 lines
527 B
Plaintext

- if %w(edit update).exclude? controller.action_name
= f.input :name
= f.input :description, as: :text
= f.input :publish_without_qa, as: :boolean, wrapper: :vertical_boolean
= f.input :synchronizing_publications, as: :boolean, wrapper: :vertical_boolean
- if @platform.main?
= f.input :publish_builds_only_from_branch
=> submit_button_tag
=> t('layout.or')
a.btn.btn-default href=(@repository.new_record? ? platform_repositories_path(@platform) : platform_repository_path(@platform, @repository))
= t('layout.cancel')