- unless @data.empty?
h2.uk-text-success Modify Splash process monitoring : #{@data[:process]}
- else
h2.uk-text-success Add new Splash process monitoring
script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js"
form.uk-form.uk-form-horizontal#query action="/save_process" method="POST"
label.uk-form-label for="process" Process
div
label.uk-form-label for="patterns" Patterns (separator is "|")
div
label.uk-form-label for="retention" Retention (Like "2 hours, 2 days")
div
- unless @data.empty?
input type="hidden" name="update" value="true"
input type="hidden" name="old_process" value="#{@data[:old_process].to_s}"
div.uk-align-right
input.uk-button.uk-button-small-primary type="submit" value="Submit"
javascript:
$("#query").validate();