Sha256: 77dcedbfd2b2a9d7a7901a3b862eba3c81eadda087122ed44d2bd5a570444ed5

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

<div class="form-group ">
  <label class="col-md-2 control-label"><%= _('Schedule') %></label>
  <div class="col-md-6">
    <% javascript 'trigger_form' %>
    <% stylesheet 'foreman_tasks/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| %>
      <%= 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") %>

      <div class="trigger_fields">
        <%= future_mode_fieldset trigger_fields, triggering %>
        <%= recurring_mode_fieldset trigger_fields, triggering %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman-tasks-0.7.16 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.15 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.14 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.13 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.12 app/views/common/_trigger_form.html.erb
foreman-tasks-0.7.11 app/views/common/_trigger_form.html.erb