Project

General

Profile

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

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

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