28 lines
695 B
Plaintext
28 lines
695 B
Plaintext
<p style="color: green"><%= notice %></p>
|
|
|
|
<% content_for :title, "Adresse" %>
|
|
|
|
<h1>Adress:</h1>
|
|
|
|
<div id="subproject_address">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<% subproject_address_view_fields.each do |attrib| %>
|
|
<th><%= attrib.to_s.humanize %></th>
|
|
<% end %>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<%= render @subproject_address %>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div>
|
|
<%= link_to "Edit this subproject address", edit_subproject_address_path(@subproject_address) %> |
|
|
<%= link_to "Back to subproject addresses", subproject_addresses_path %>
|
|
|
|
<%= button_to "Destroy this subproject address", @subproject_address, method: :delete %>
|
|
</div> |