- unless @data.empty? h2.uk-text-success   Modify Splash log monitoring : #{@data[:label]} - else h2.uk-text-success   Add new Splash log 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_log" method="POST" label.uk-form-label for="label" Label div   label.uk-form-label for="pattern" Pattern div   label.uk-form-label for="log" Log file 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_label" value="#{@data[:old_label].to_s}" div.uk-align-right input.uk-button.uk-button-small-primary type="submit" value="Submit" javascript: $("#query").validate();