lib/splash/webadmin/portal/views/process_form.slim in prometheus-splash-0.8.4 vs lib/splash/webadmin/portal/views/process_form.slim in prometheus-splash-0.8.5
- old
+ new
@@ -7,11 +7,14 @@
form.uk-form.uk-form-horizontal#query action="/save_process" method="POST"
label.uk-form-label for="process" Process
<input class="uk-form-width-large" id="process" type="text" placeholder="process" name="process" value="#{@data[:process].to_s}" required>
div
- label.uk-form-label for="patterns" Patterns
+ label.uk-form-label for="patterns" Patterns (separator is "|")
<input class="uk-form-width-large" id="patterns" type="text" placeholder="patterns" name="patterns" value="#{@data[:patterns]}" required>
+ div
+ label.uk-form-label for="retention" Retention (Like "2 hours, 2 days")
+ <input class="uk-form-width-large" id="retention" type="text" placeholder="retention" name="retention" value="#{@data[:retention]}">
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