aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/_popup.html.erb
blob: 0e8b1da8f7142f7d319d0a884ba63870a3692558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<article class="resource" id="res-<%= resource.uuid %>">
    <h1><%= resource.name %></h1>
    <p class="summary"><%= h resource.summary %></p>
    <% unless resource.description.blank? %>
    <section class="description">
        <h2>Description</h2>
        <%= m resource.description %>
    </section>
    <% end %>
    <nav>
        <ul>
            <li><%= link_to(tag.nobr(resource.uuid), resource_path(resource), title: 'voir la fiche correspondante') %></li>
            <li><%= link_to('modifier', edit_resource_url(resource), title: 'nodifier cette ressource') %></li>
        </ul>
    </nav>
</article>