lib/resque/scheduler/server/views/delayed.erb in resque-scheduler-4.0.0 vs lib/resque/scheduler/server/views/delayed.erb in resque-scheduler-4.1.0
- old
+ new
@@ -1,9 +1,9 @@
<h1>Delayed Jobs</h1>
<%- size = resque.delayed_queue_schedule_size %>
-<%= render_partial File.read(File.join(File.dirname(__FILE__), 'server/views/search_form.erb')) %>
+<%= scheduler_view :search_form, layout: false %>
<p class='intro'>
This list below contains the timestamps for scheduled delayed jobs.
Server local time: <%= Time.now %>
</p>
@@ -55,6 +55,5 @@
<input type='submit' name='' value='Clear Delayed Jobs' />
</form>
<% end %>
<%= partial :next_more, :start => start, :size => size %>
-