Feature #4285 » wiki-edit-cancel-20151003.diff
app/views/wiki/edit.html.erb (working copy) | ||
---|---|---|
33 | 33 |
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> |
34 | 34 |
</div> |
35 | 35 | |
36 |
<p><%= submit_tag l(:button_save) %> |
|
37 |
<%= preview_link({:controller => 'wiki', :action => 'preview', :project_id => @project, :id => @page.title }, 'wiki_form') %></p> |
|
36 |
<p> |
|
37 |
<%= submit_tag l(:button_save) %> |
|
38 |
<%= preview_link({:controller => 'wiki', :action => 'preview', :project_id => @project, :id => @page.title }, 'wiki_form') %> |
|
39 |
<% unless @page.new_record? && @page.parent.nil? %> |
|
40 |
| <%= link_to l(:button_cancel), @page.new_record? ? @page.parent : @page %> |
|
41 |
<% end %> |
|
42 |
</p> |
|
38 | 43 |
<%= wikitoolbar_for 'content_text' %> |
39 | 44 |
<% end %> |
40 | 45 |
- « Previous
- 1
- 2
- 3
- Next »