generators/background/templates/scaffold/index.html.erb in ncr-background_fu-1.0.6 vs generators/background/templates/scaffold/index.html.erb in ncr-background_fu-1.0.7

- old
+ new

@@ -1,14 +1,6 @@ <div> - <% form_for(:job, :html => {:class => "job"}) do |f| %> - <%= f.label :worker_class %><br /> - <%= f.text_field :worker_class, :class => "worker-class" %><br /> - <%= f.label :worker_method %><br /> - <%= f.text_field :worker_method, :class => "worker-method" %><br /> - <%= f.label :args, "Args - each line (including empty) is interpreted as a string argument" %><br /> - <%= f.text_area :args %><br /> - <%= f.submit "Enqueue", :class => "button" %><br /> - <% end %> + <%= render :partial => "form", :locals => { :job => @job } %> </div> <hr style="visibility:hidden; margin: 20px auto" /> <table class="jobs">