13 lines
407 B
Plaintext
13 lines
407 B
Plaintext
<h2><%=l :label_glossary_term_new %></h2>
|
|
|
|
<%= labelled_form_for :glossary_term, @term,
|
|
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>
|
|
|
|
|