From f92814e4cc2a381fab7df374fbee5f86ebe91fa6 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Tue, 24 Apr 2012 14:22:19 +0200 Subject: make sample code more compact --- guides/source/getting_started.textile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'guides/source') diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 478aa74f27..d52e3f65a7 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -619,19 +619,7 @@ Let's add links to the other views as well. # app/views/posts/new.html.erb <%= form_for :post do |f| %> -

- <%= f.label :title %>
- <%= f.text_field :title %> -

- -

- <%= f.label :text %>
- <%= f.text_area :text %> -

- -

- <%= f.submit %> -

+ ... <% end %> <%= link_to 'Back', :action => :index %> -- cgit v1.2.3