From: yasushiito Date: Fri, 6 Jan 2012 08:46:06 +0000 (+0900) Subject: added views add to field X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=commitdiff_plain;h=45a58ac4d97dfadb2be2a5cb697e7ce2bbf8169a added views add to field --- diff --git a/app/views/balloons/index.html.erb b/app/views/balloons/index.html.erb index 48994b7b..8856ac1d 100644 --- a/app/views/balloons/index.html.erb +++ b/app/views/balloons/index.html.erb @@ -7,9 +7,10 @@ system_picture Tail size + x + y z - Top offset - Left offset + t Width Height @@ -21,9 +22,9 @@ <%= balloon.system_picture_id %> <%= balloon.tail %> <%= balloon.size %> - <%= balloon.z %> - <%= balloon.y %> <%= balloon.x %> + <%= balloon.y %> + <%= balloon.z %> <%= balloon.width %> <%= balloon.height %> diff --git a/app/views/comics/index.html.erb b/app/views/comics/index.html.erb index 21909c0c..b562d4a6 100644 --- a/app/views/comics/index.html.erb +++ b/app/views/comics/index.html.erb @@ -6,10 +6,10 @@ Title width height - author_id - updated_at visible editable + author_id + updated_at diff --git a/app/views/comics/show.html.erb b/app/views/comics/show.html.erb index e238a2fd..fb358d2c 100644 --- a/app/views/comics/show.html.erb +++ b/app/views/comics/show.html.erb @@ -25,4 +25,14 @@ <%= @comic.editable %>

+

+ author_id: + <%= @comic.author_id %> +

+ +

+ updated_at: + <%= @comic.updated_at %> +

+ <%= link_to 'Back', comics_path %> diff --git a/app/views/panel_pictures/index.html.erb b/app/views/panel_pictures/index.html.erb index 5a54844b..9f443805 100644 --- a/app/views/panel_pictures/index.html.erb +++ b/app/views/panel_pictures/index.html.erb @@ -5,7 +5,7 @@ id panel resource_picture - url + link Width Height x @@ -21,7 +21,7 @@ <%= panel_picture.id %> <%= panel_picture.panel_id %> <%= panel_picture.resource_picture_id %> - <%= h panel_picture.url %> + <%= h panel_picture.link %> <%= panel_picture.x %> <%= panel_picture.y %> <%= panel_picture.z %> diff --git a/app/views/speach_balloons/index.html.erb b/app/views/speach_balloons/index.html.erb index 09ba60b2..d9aa256f 100644 --- a/app/views/speach_balloons/index.html.erb +++ b/app/views/speach_balloons/index.html.erb @@ -2,8 +2,8 @@ - - + + diff --git a/app/views/speach_balloons/show.html.erb b/app/views/speach_balloons/show.html.erb index d59af765..12b2e8ea 100644 --- a/app/views/speach_balloons/show.html.erb +++ b/app/views/speach_balloons/show.html.erb @@ -6,12 +6,12 @@

- Tail limit: + Tail count: <%= @speach_balloon.tail_count %>

- size limit: + size count: <%= @speach_balloon.size_count %>

diff --git a/app/views/speach_templates/index.html.erb b/app/views/speach_templates/index.html.erb index 6d6f2d37..e1b19723 100644 --- a/app/views/speach_templates/index.html.erb +++ b/app/views/speach_templates/index.html.erb @@ -3,8 +3,8 @@
NameTail limitsize limitTail countsize count t
- - + + @@ -12,8 +12,8 @@ <% @speach_templates.each do |speach_template| %> - + diff --git a/app/views/speaches/index.html.erb b/app/views/speaches/index.html.erb index 9a51fd6d..3eb59d88 100644 --- a/app/views/speaches/index.html.erb +++ b/app/views/speaches/index.html.erb @@ -4,8 +4,9 @@ - - + + + @@ -14,8 +15,9 @@ - + +
balloon templateTop offsetLeft offsetxy Width Height
<%= speach_template.balloon_template_id %><%= speach_template.y %> <%= speach_template.x %><%= speach_template.y %> <%= speach_template.width %> <%= speach_template.height %>
balloon contentTop offsetLeft offsetxyt Width Height
<%= speach.balloon_id %> <%= h speach.content %><%= speach.y %> <%= speach.x %><%= speach.y %><%= speach.t %> <%= speach.width %> <%= speach.height %>