[bugfix]#13 Fix remove preview_link and depends on wiki standard preview tab

This commit is contained in:
Toru Takahashi 2019-06-25 03:15:37 +09:00 committed by TAKAHASHI,Toru
parent 3e14a86bcb
commit e8658550a3
2 changed files with 0 additions and 4 deletions

View File

@ -3,7 +3,4 @@
<%= labelled_form_for :glossary_term, @term, url: project_glossary_term_path, html: {multipart: true, id: 'term-form'} do |f| %>
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
<%= f.submit l(:button_edit) %>
<%= preview_link preview_project_glossary_term_path(@project, @term), 'term-form' %>
<% end %>
<div id="preview" class="wiki" ></div>

View File

@ -4,7 +4,6 @@
url: project_glossary_terms_path, html: {multipart: true, id: 'term-form'} do |f| %>
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
<%= f.submit l(:button_create) %>
<%= preview_link preview_project_glossary_terms_path(@project), 'term-form' %>
<% end %>
<div id="preview" class="wiki"></div>