[bugfix]#13 Fix remove preview_link and depends on wiki standard preview tab
This commit is contained in:
parent
3e14a86bcb
commit
e8658550a3
@ -3,7 +3,4 @@
|
|||||||
<%= labelled_form_for :glossary_term, @term, url: project_glossary_term_path, html: {multipart: true, id: 'term-form'} do |f| %>
|
<%= 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} %>
|
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
|
||||||
<%= f.submit l(:button_edit) %>
|
<%= f.submit l(:button_edit) %>
|
||||||
<%= preview_link preview_project_glossary_term_path(@project, @term), 'term-form' %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div id="preview" class="wiki" ></div>
|
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
url: project_glossary_terms_path, html: {multipart: true, id: 'term-form'} do |f| %>
|
url: project_glossary_terms_path, html: {multipart: true, id: 'term-form'} do |f| %>
|
||||||
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
|
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
|
||||||
<%= f.submit l(:button_create) %>
|
<%= f.submit l(:button_create) %>
|
||||||
<%= preview_link preview_project_glossary_terms_path(@project), 'term-form' %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div id="preview" class="wiki"></div>
|
<div id="preview" class="wiki"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user