Sha256: 9d209bf5306b404c1d5018fdb6ddd02aa73cef1814de3969e198bc6f61e22200

Contents?: true

Size: 1.03 KB

Versions: 46

Compression:

Stored size: 1.03 KB

Contents

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

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
foreman-tasks-0.10.7 app/views/common/_trigger_form.html.erb
foreman-tasks-0.10.6 app/views/common/_trigger_form.html.erb
foreman-tasks-0.10.4 app/views/common/_trigger_form.html.erb
foreman-tasks-0.10.3 app/views/common/_trigger_form.html.erb
foreman-tasks-0.10.2 app/views/common/_trigger_form.html.erb
foreman-tasks-0.10.1 app/views/common/_trigger_form.html.erb