diff --git a/app/controllers/calentries_controller.rb b/app/controllers/calentries_controller.rb index 6b488e1..7bb1c07 100644 --- a/app/controllers/calentries_controller.rb +++ b/app/controllers/calentries_controller.rb @@ -35,10 +35,12 @@ class CalentriesController < ApplicationController # end # GET /calentries/1/edit - #def edit - # @calentry = Calentry.find(params[:id]) - - # end + def edit + @calentry = Calentry.find(params[:id]) + respond_to do |format| + format.html + end + end # POST /calentries # POST /calentries.json diff --git a/app/views/beispiele/_form.html.erb b/app/views/beispiele/_form.html.erb index fd92b3f..ce71e97 100755 --- a/app/views/beispiele/_form.html.erb +++ b/app/views/beispiele/_form.html.erb @@ -1,41 +1,35 @@ <%= semantic_form_for @beispiel, :html => { :multipart => true } do |f| %> -<%= f.inputs do %> -