Sha256: d106f640bc43c4de1eec8ce86d6c06f902e71afa59c3ca44d532d2915032ee7a

Contents?: true

Size: 762 Bytes

Versions: 9

Compression:

Stored size: 762 Bytes

Contents

<%= javascript 'foreman_openscap/period_selector' %>

<div class="tab-pane <%= show_partial_wizard(step) %>" id="scap_schedule">
  <%= wizard_header @policy.step_index, *@policy.steps %>
  <%= select_f(f, :period, %w[Weekly Monthly Custom], :downcase, :to_s,
               { :include_blank => _('Choose period') },
               { :onchange => 'period_selected(this)' }) %>
  <%= select_f(f, :weekday, Date::DAYNAMES, :downcase, :to_s, :include_blank => _('Choose weekday')) %>
  <%= text_f(f, :day_of_month, :help_inline => _('Number of a day in month, note that not all months have same count of days')) %>
  <%= text_f(f, :cron_line, :help_inline => _('You can specify custom cron line, e.g. "0  3  *  *  *", separate each of 5 values by space')) %>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_openscap-0.4.3 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.4.2 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.4.1 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.3.4 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.4.0 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.3.3 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.3.2 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.3.1 app/views/scaptimony_policies/steps/_schedule_form.html.erb
foreman_openscap-0.3.0 app/views/scaptimony_policies/steps/_schedule_form.html.erb