|
|
|
@ -10,9 +10,8 @@
|
|
|
|
|
|
|
|
|
|
<h3><strong><%=h @contestnotification.title %></strong></h3>
|
|
|
|
|
|
|
|
|
|
<% if authorize_for_contest('contestnotifications', 'edit') %>
|
|
|
|
|
<div id="edit-contestnotifications" style="display:none;">
|
|
|
|
|
<%= labelled_form_for :contestnotifications, @contestnotifications, :url => contest_contestnotification_path(@contestnotifications),
|
|
|
|
|
<%= labelled_form_for @contestnotification, :url => contest_contestnotification_path(@contest),
|
|
|
|
|
:html => { :id => 'contestnotifications-form', :multipart => true, :method => :put } do |f| %>
|
|
|
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
|
|
|
<%= submit_tag l(:button_save) %>
|
|
|
|
@ -20,7 +19,6 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<div id="preview" class="wiki"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<div id="notificationcomments" style="margin-bottom:16px;">
|
|
|
|
|
|
|
|
|
@ -81,7 +79,7 @@
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="left"><span class="font_lighter"> <%= format_time(notificationcomment.created_at) %></span></td>
|
|
|
|
|
<td width="200" align="right" class="a"><%= link_to_if_authorized_contest image_tag('delete.png'), {:controller => 'notificationcomments', :action => 'destroy', :id => @contestnotifications, :notificationcomment_id => notificationcomment},
|
|
|
|
|
<td width="200" align="right" class="a"><%#= link_to_if_authorized_contest image_tag('delete.png'), {:controller => 'notificationcomments', :action => 'destroy', :id => @contestnotifications, :notificationcomment_id => notificationcomment},
|
|
|
|
|
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|