2014-10-28 23:04:45 +00:00
|
|
|
- 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
|
|
|
|
|
2015-02-09 22:14:11 +00:00
|
|
|
=> submit_button_tag
|
2015-02-05 23:59:45 +00:00
|
|
|
=> t('layout.or')
|
|
|
|
a.btn.btn-default href=(@repository.new_record? ? platform_repositories_path(@platform) : platform_repository_path(@platform, @repository))
|
2014-10-28 23:04:45 +00:00
|
|
|
= t('layout.cancel')
|