Zeit formatiert

Datetimepicker fixed, Speichern und weiter
This commit is contained in:
2014-06-21 16:36:30 +05:30
parent 6c9a1b51c4
commit a87990c338
6 changed files with 25 additions and 17 deletions

View File

@@ -97,7 +97,13 @@ class ThemenController < ApplicationController
respond_to do |format|
if @thema.save
format.html { redirect_to @thema, notice: I18n.t("thema.updated") }
format.html {
if params["button"]=="continue"
render action: "edit", notice: I18n.t("thema.updated")
else
redirect_to @thema, notice: I18n.t("thema.updated")
end
}
format.json { head :no_content }
format.js
else