Services
<% unless @is_readonly %>
Edit
<% end %>
<% @services.each_with_index do |serv, index| %>
> <% if index == @services.length - 1 %>
Name
<% end %>
<% if index == @services.length - 1 %>
Service Type
<% end %>
<% if index == @services.length - 1 %>
Machine
<% end %>
> <% if index == @services.length - 1 %>
Subdomain
<% end %>
> <% if index == @services.length - 1 %>
Port
<% end %>
> <% if index == @services.length - 1 %>
URL Path (optional)
<% end %>
<% end %>
<% if @is_readonly %> <% else %>
New
Name
Service Type
Machine
Subdomain
Port
URL Path (optional)
Cancel
<% end %>