Sha256: c164bada9ee6ed3b98e3c8b0870fc09134f9dc87775bb26f6ac3edacad5aaa13

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

<tr class="fields form-group <%= 'has-error' if f.object.errors.any? %>">
  <td><%= f.text_field(:name,  :class => "form-control",
                       :placeholder => _("DNS e.g. 8.8.8.8")) %></td>
  <td style='vertical-align: middle' class='text-center'>
    <span class="help-block">
      <%= link_to_remove_fields('', f) %>
    </span>
  </td>
  <span class="help-block">
    <%= f.object.errors.full_messages.to_sentence %>
  </span>
</tr>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_docker-3.0.0 app/views/foreman_docker/common_parameters/_dns_entry.html.erb
foreman_docker-2.1.1 app/views/foreman_docker/common_parameters/_dns_entry.html.erb
foreman_docker-2.1.0 app/views/foreman_docker/common_parameters/_dns_entry.html.erb