Project

General

Profile

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

foreman-docker / app / views / foreman_docker / common_parameters / _environment_variable.html.erb @ 2b80fdd9

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