OSDN Git Service

8522e461cedc22debf9986c2e5821c9b07259e2a
[pettanr/pettanr.git] / app / views / layouts / application.html.erb
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <title>Pettanr</title>
5   <%= stylesheet_link_tag    "application" %>
6   <%= javascript_include_tag "application" %>
7   <%= csrf_meta_tags %>
8 </head>
9 <body>
10
11 <div>
12 <% if author_signed_in? %>
13   <%= link_to "my home", :controller => '/home' %>
14   <%= link_to "ログアウト", destroy_author_session_path, :method => :delete %>
15 <% else %>
16   <%= link_to "ログイン", new_author_session_path %>
17 <% end %>
18 </div>
19 <div>
20 <% if admin_signed_in? %>
21   <%= link_to "system", :controller => '/system' %>
22   <%= link_to "ログアウト", destroy_admin_session_path, :method => :delete %>
23 <% else %>
24   <%= link_to "管理者", new_admin_session_path %>
25 <% end %>
26 </div>
27 <div>
28  <p class="notice"><%= notice %></p>
29  <p class="alert"><%= alert %></p>
30 <%= link_to 'comics', comics_path %>
31 <%= link_to 'panels', panels_path %>
32 <%= link_to 'original_pictures', original_pictures_path %>
33 <%= link_to 'resource_pictures', resource_pictures_path %>
34 <%= link_to 'panel_pictures', panel_pictures_path %>
35 <%= link_to 'balloons', balloons_path %>
36 <%= link_to 'speaches', speaches_path %>
37  : 
38 <%= link_to 'speach_balloons', speach_balloons_path %>
39 <%= link_to 'balloon_templates', balloon_templates_path %>
40 <%= link_to 'speach_templates', speach_templates_path %>
41  : 
42 <%= link_to 'artists', artists_path %>
43 <%= link_to 'lesences', lisences_path %>
44 (<%= link_to 'common', common_lisences_path %> <%= link_to 'original', original_lisences_path %>)
45 <%= link_to 'system_pictures', system_pictures_path %>
46 </div>
47 <%= yield %>
48
49 </body>
50 </html>