redmine_glossary/app/views/glossary_terms/edit.html.erb
2020-01-02 19:39:19 +09:00

8 lines
246 B
Plaintext

<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
<%= labelled_form_for :glossary_term, @term, url: glossary_term_path do |f| %>
<%= render partial: 'glossary_terms/form', locals: {form: f} %>
<%= f.submit l(:button_edit) %>
<% end %>