OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / views / sheet_panels / _play_header.html.erb
1 <h1>
2   <%= link_to sheet_icon(:object => sheet, :size => 25), sheet_path(sheet) %>
3   <%= link_to h(sheet.caption), play_sheet_path(sheet) %>
4 </h1>
5 <table class="no-border" style="margin: 0px; padding: 0px; width=100%">
6   <tr>
7     <td>
8     </td>
9     <td>
10       <%= link_to author_icon(:object => sheet.author, :size => 17), author_path(sheet.author) %>
11       <%= link_to h(truncate(sheet.author.name, :length => 12)), play_sheet_path(sheet.author) %>
12     </td>
13     <td>
14       <% if sheet.own? author %>
15         <%= link_to t('link.edit'), edit_sheet_path(sheet) %>
16         <%= link_to t('link.destroy'), sheet_path(sheet), :method => :delete %>
17       <% end %>
18     </td>
19   </tr>
20 </table>