Project

General

Profile

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

foreman_docker / app / views / foreman_docker / common_parameters / _dns.erb @ bc82d5d5

1 bc82d5d5 Vanya Jauhal
<div class='fields'>
2
  <table class="table table-bordered table-hover table-striped">
3
    <tr class="form-group <%= 'has-error' if f.object.errors.any? %>">
4
      <td><%= f.text_field(:name,  :class => "form-control",
5
                                   :placeholder => _("DNS e.g: 8.8.8.8")) %></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>
15
  </table>
16
</div>