Project

General

Profile

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

foreman-docker / app / views / foreman_docker / common_parameters / _exposed_port.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 => _("Port number e.g. 22")) %></td>
4
  <td><%= f.select :value, [['TCP','tcp'],['UDP','udp']]  %></td>
5
  <td style='vertical-align: middle' class='text-center'>
6
    <span class="help-block">
7
      <%= link_to_remove_fields('', f) %>
8
    </span>
9
  </td>
10
  <span class="help-block">
11
    <%= f.object.errors.full_messages.to_sentence %>
12
  </span>
13
</tr>