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

16 lines
544 B
Plaintext
Raw Normal View History

- 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
= f.button :submit, t('layout.save')
|  
= t('layout.or')
|  
a href=(@repository.new_record? ? platform_repositories_path(@platform) : platform_repository_path(@platform, @repository))
= t('layout.cancel')