OSDN Git Service

t#29983:show panel with license
[pettanr/pettanr.git] / app / views / comics / play.html.erb
index fd90107..2134033 100644 (file)
@@ -1,19 +1,12 @@
-<p id="notice"><%= notice %></p>
+<h1><%= h @comic.title %></h1>
+<% if @comic.own? @author -%>
+  <div>
+    <%= link_to 'edit comic property', edit_comic_path(@comic), :remote => true %>
+  </div>
+  <div id="newcomic">
+  </div>
+<% end -%>
 
-<p>
-  <b>Title:</b>
-  <%= h @comic.title %>
-</p>
-
-<p>
-  <b>Default width:</b>
-  <%= @comic.width %>
-</p>
-
-<p>
-  <b>Default height:</b>
-  <%= @comic.height %>
-</p>
 <% @comic.panels.each do |panel| %>
   <% @panel = panel %>
   <%= render 'panels/standard' %>