プロジェクト

全般

プロフィール

« | » 

リビジョン be33f1f6

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

[phase-4]add delete operation

差分を表示:

app/views/glossary_terms/show.html.erb
<div class="contextual">
<%= link_to l(:button_edit), edit_glossary_term_path, class: 'icon icon-edit' %>
<%= link_to l(:button_delete), glossary_term_path, method: :delete,
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
</div>
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>

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