2018-04-12 20:11:22 +00:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-04-04 09:44:32 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-04-12 20:11:22 +00:00
|
|
|
.form-group.row
|
2018-04-04 09:44:32 +00:00
|
|
|
.col-sm-offset-2.col-sm-10
|
2018-04-11 18:05:57 +00:00
|
|
|
.form-check
|
2018-04-04 09:44:32 +00:00
|
|
|
= f.label :plantuml_enabled do
|
|
|
|
= f.check_box :plantuml_enabled
|
|
|
|
Enable PlantUML
|
2018-04-12 20:11:22 +00:00
|
|
|
.form-group.row
|
2018-04-11 19:36:17 +00:00
|
|
|
= f.label :plantuml_url, 'PlantUML URL', class: 'col-form-label col-sm-2'
|
2018-04-04 09:44:32 +00:00
|
|
|
.col-sm-10
|
|
|
|
= f.text_field :plantuml_url, class: 'form-control', placeholder: 'http://gitlab.your-plantuml-instance.com:8080'
|
2018-04-11 18:26:37 +00:00
|
|
|
.form-text.text-muted
|
2018-04-04 09:44:32 +00:00
|
|
|
Allow rendering of
|
|
|
|
= link_to "PlantUML", "http://plantuml.com"
|
|
|
|
diagrams in Asciidoc documents using an external PlantUML service.
|
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|