themen interface cleanup1

This commit is contained in:
2014-06-21 14:53:16 +05:30
parent 6fdee8a7d6
commit 6c9a1b51c4
15 changed files with 102 additions and 91 deletions

View File

@@ -1,8 +1,8 @@
<p>
<b> <%= frage.title %> </b> <br/>
<b> <%= frage.title %>? </b> <br/>
<%= raw(frage.text) %>
<br/>
<%= link_to 'Edit', edit_frage_path(frage),:remote=>true %> |
<%= link_to 'Destroy',frage, method: :delete, :remote=> true , data: { confirm: 'Are you sure?' } %>
<%= link_to 'Edit', edit_frage_path(frage),:remote=>true %>
<%= link_to 'Destroy',frage, method: :delete, :remote=> true , data: { confirm: I18n.t("frage.sure") } %>
</p>