redmine_glossary/app/views/glossary_terms/edit.html.erb

10 lines
422 B
Plaintext
Raw Normal View History

2018-05-05 14:04:21 +02:00
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
<%= labelled_form_for :glossary_term, @term, url: project_glossary_term_path, html: {multipart: true, id: 'term-form'} do |f| %>
2018-05-05 14:04:21 +02:00
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
<%= f.submit l(:button_edit) %>
<%= preview_link preview_project_glossary_term_path(@project, @term), 'term-form' %>
2018-05-05 14:04:21 +02:00
<% end %>
<div id="preview" class="wiki" ></div>