|
|
|
@ -30,10 +30,16 @@
|
|
|
|
|
<%#= link_to_attachments @contestnotification %>
|
|
|
|
|
<br/>
|
|
|
|
|
<!--add comment-->
|
|
|
|
|
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<p>
|
|
|
|
|
<%= toggle_link l(:label_comment_add), "add_notificationcomment_form", :focus => "notificationcomment_notificationcomments" %>
|
|
|
|
|
</p>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= l(:label_user_login_notificationcomment) %>
|
|
|
|
|
<%= link_to l(:label_user_login_new), signin_path %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
<%= toggle_link l(:label_comment_add), "add_notificationcomment_form", :focus => "notificationcomment_notificationcomments" %>
|
|
|
|
|
</p>
|
|
|
|
|
<%= form_tag( contest_contestnotification_notificationcomments_path(@contest, @contestnotification) , :id => "add_notificationcomment_form", :style => "display:none;") do %>
|
|
|
|
|
<div class="box">
|
|
|
|
|
<%= text_area 'notificationcomment', 'notificationcomments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
|
|
|
|
|