themessticker, cleanup routes

This commit is contained in:
2014-06-25 23:09:05 +05:30
parent 2ba920331a
commit ee8f2d0076
14 changed files with 208 additions and 263 deletions

View File

@@ -33,8 +33,10 @@
</div>
</div>
<% unless I18n.locale == :de %>
@thema.text
<% end %>
<% I18n.with_locale(:de) do %>
<%= raw(@thema.text) %>
<% end %><% end %>
<%= f.actions do %>
<%= f.action :submit, :as => :button, :label=> I18n.t("thema.save" ) %>
<%= f.action :submit, :as => :button, :label=> I18n.t("thema.savecont"), :button_html=>{:value=>"continue"} %>