Project

General

Profile

Download (580 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman_docker / app / views / containers / steps / _form_buttons.html.erb @ 329cfcba

1
<div class="clearfix">
2
  <div class="form-actions col-md-6 col-md-offset-2 small-gutter">
3
    <% if step == :preliminary %>
4
      <%= link_to _("Cancel"), containers_path, :class => "btn btn-danger" %>
5
    <% else %>
6
      <a class="btn btn-default" href="<%= previous_wizard_path %>">
7
        <%= _("Previous Step") %>
8
      </a>
9
    <% end %>
10

    
11
    <%= button_tag(:id => 'next', :type => 'submit', :class => "btn btn-primary") do %>
12
      <% if last_step? %>
13
        <%= _("Submit") %>
14
      <% else %>
15
        <%= _("Next Step") %>
16
      <% end %>
17
    <% end %>
18
  </div>
19
</div>