Sha256: 08a79da5277cf62cad4fd39ecffa1247abf5dd540990e479f33fd4e78271fd52

Contents?: true

Size: 881 Bytes

Versions: 4

Compression:

Stored size: 881 Bytes

Contents

<div class="form-group trigger_mode">
  <% javascript 'trigger_form' %>
  <%= javascript_tag do %>
  $(function() { trigger_form_selector_binds('<%= f.options[:html][:id] %>','<%= f.object_name %>') });
  <% end %>
  <%= fields_for :triggering, triggering do |trigger_fields| %>
  <legend><%= _('Schedule Job') %></legend>
  <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'immediate', :text => _("Execute now") %>
  <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'future',    :text => _("Schedule future execution") %>
  <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'recurring', :text => _("Set up recurring execution") %>
  <%= future_mode_fieldset trigger_fields, triggering %>
  <%= recurring_mode_fieldset trigger_fields, triggering %>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman-tasks-0.7.10 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.9 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.8 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.7 app/views/common/_trigger_form.html.erb