2018-11-08 19:23:39 +05:30
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-05-09 12:01:36 +05:30
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check
|
|
|
|
= f.check_box :plantuml_enabled, class: 'form-check-input'
|
|
|
|
= f.label :plantuml_enabled, class: 'form-check-label' do
|
|
|
|
Enable PlantUML
|
2018-05-09 12:01:36 +05:30
|
|
|
.form-group
|
2018-11-08 19:23:39 +05:30
|
|
|
= f.label :plantuml_url, 'PlantUML URL', class: 'label-light'
|
|
|
|
= f.text_field :plantuml_url, class: 'form-control', placeholder: 'http://gitlab.your-plantuml-instance.com:8080'
|
|
|
|
.form-text.text-muted
|
|
|
|
Allow rendering of
|
|
|
|
= link_to "PlantUML", "http://plantuml.com"
|
|
|
|
diagrams in Asciidoc documents using an external PlantUML service.
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|