Skip to content

Commit 31445b8

Browse files
committed
Program create/show work properly.
I made the form for create create the code as 'body' rather than as 'code'.
1 parent d3bd912 commit 31445b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

views/programs/new.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
%label{:for => "program_title"} Title
33
%input{:type => "text", :id => "program_title", :name => "program[title]"}
44
%label{:for => "program_body"} Body
5-
%input{:type => "text", :id => "program_body", :name => "program[body]"}
5+
%input{:type => "text", :id => "program_body", :name => "program[code]"}
66
%input{:type => "submit", :value => "Create" }

0 commit comments

Comments
 (0)