プロジェクト

全般

プロフィール

« | » 

リビジョン f0da3938

高徹 高橋 徹 さんが約6年前に追加

[phase-6]changed routing of all glossary_term to under project

差分を表示:

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

他の形式にエクスポート: Unified diff