Sha256: 33453a7d9c600d52e2c45d2a9233fc0cc25cb7e51de6f4acb8c12e24112597aa

Contents?: true

Size: 601 Bytes

Versions: 5

Compression:

Stored size: 601 Bytes

Contents

<%= javascript 'foreman_openscap/policy_edit' %>
<%= stylesheet 'foreman_openscap/policy' %>
<%= form_for @policy,
             :url => (@policy.id? ? policy_path(:id => @policy.id) : policies_path) do |f| %>
  <%= base_errors_for @policy %>
  <%= f.hidden_field(:current_step, :value => @policy.next_step) unless @policy.current_step.blank? %>
  <% @policy.steps.each do | step | %>
    <%= render :partial => "policies/steps/#{step.downcase.tr(' ', '_')}_form", :locals => {:f => f, :step => step} %>
  <% end %>
  <%= submit_or_cancel_policy(f, (_('Next') unless @policy.last_step?) ) %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_openscap-0.5.4 app/views/policies/steps/_step_form.html.erb
foreman_openscap-0.5.3 app/views/policies/steps/_step_form.html.erb
foreman_openscap-0.5.2 app/views/policies/steps/_step_form.html.erb
foreman_openscap-0.5.1 app/views/policies/steps/_step_form.html.erb
foreman_openscap-0.5.0 app/views/policies/steps/_step_form.html.erb