Project

General

Profile

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

foreman_docker / app / views / foreman_docker / common_parameters / _environment_variable.html.erb @ bc82d5d5

1
<div class='fields'>
2
  <table class="table table-bordered table-hover table-striped">
3
    <tr class="form-group <%= 'error' if f.object.errors.any? %>">
4
      <td><%= f.text_field(:name,  :class => "form-control",
5
                                   :placeholder => _("Name, e.g: PING_HOST")) %></td>
6
      <td><%= f.text_field(:value, :class => "form-control",
7
                                   :placeholder => _("Value, e.g: theforeman.org")) %></td>
8
      <td style='vertical-align: middle' class='text-center'>
9
        <span class="help-block">
10
          <%= link_to_remove_fields('', f) %>
11
        </span>
12
      </td>
13
      <span class="help-block">
14
        <%= f.object.errors.full_messages.to_sentence %>
15
      </span>
16
    </tr>
17
  </table>
18
</div>