mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
34 lines
820 B
Plaintext
34 lines
820 B
Plaintext
<p id="notice"><%= notice %></p>
|
|
|
|
<h1>Sponsorships</h1>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Amount</th>
|
|
<th>Visible</th>
|
|
<th>Sponsor</th>
|
|
<th>Developer</th>
|
|
<th colspan="3"></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% @sponsorships.each do |sponsorship| %>
|
|
<tr>
|
|
<td><%= sponsorship.amount %></td>
|
|
<td><%= sponsorship.visible %></td>
|
|
<td><%= sponsorship.sponsor_id %></td>
|
|
<td><%= sponsorship.developer_id %></td>
|
|
<td><%= link_to 'Show', sponsorship %></td>
|
|
<td><%= link_to 'Edit', edit_sponsorship_path(sponsorship) %></td>
|
|
<td><%= link_to 'Destroy', sponsorship, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<%= link_to 'New Sponsorship', new_sponsorship_path %>
|