diff --git a/assets/css/PostText.css b/assets/css/PostText.css index e26381e..a671f73 100644 --- a/assets/css/PostText.css +++ b/assets/css/PostText.css @@ -1,5 +1,9 @@ -.field-with-error {} - -.thread, .remark { - border-style: dotted; +.field-with-error { + border-style: solid; + border-color: red; +} + +.thread, .remark, .field-with-error { + border-style: dotted; + border-collapse: collapse; } diff --git a/templates/remark_page.html.ep b/templates/remark_page.html.ep index 2531acd..3175d60 100644 --- a/templates/remark_page.html.ep +++ b/templates/remark_page.html.ep @@ -25,9 +25,8 @@ <% } =%> <% } =%> diff --git a/templates/thread_id.html.ep b/templates/thread_id.html.ep index ff5a8ed..164e7bf 100644 --- a/templates/thread_id.html.ep +++ b/templates/thread_id.html.ep @@ -3,7 +3,9 @@

<%= title %>

- #<%= %$thread{'id'} %> + + <%= link_to "#$thread->{'id'}", remark_page => {thread_id => $thread->{'id'}} %> +

<%= %$thread{'title'} %>

<%= %$thread{'date'} %>

<%= %$thread{'author'} %>