X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Fstories%2F_form.html.erb;h=4355267d87593eb33c8b92767bf74f3726074416;hb=4de70a43f48c9becfd180631289f7a4d480bb5b8;hp=8d705f58a82f6ec5056f256e6fe84d8f3aa86376;hpb=eb397c27a98c59c856b91a5b09d1316b1135a15c;p=pettanr%2Fpettanr.git diff --git a/app/views/stories/_form.html.erb b/app/views/stories/_form.html.erb index 8d705f58..4355267d 100644 --- a/app/views/stories/_form.html.erb +++ b/app/views/stories/_form.html.erb @@ -6,12 +6,24 @@ <%= f.number_field :comic_id %>
- <%= f.label :t %>
- <%= f.number_field :t %> + <%= f.label :title %>
+ <%= f.text_field :title %> +
+
+ <%= f.label :description %>
+ <%= f.text_area :description %> +
+
+ <%= f.label :visible %>
+ <%= f.collection_select :visible, t_select_items(MagicNumber['story_visible_items']), :last, :first, :html => {:selected => @story.visible} %> +
+
+ <%= f.label :author_id %>
+ <%= h @author.name %>
- <%= f.label :panel_id %>
- <%= f.number_field :panel_id %> + <%= f.label :t %>
+ <%= f.number_field :t %>