diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-14 16:18:22 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-14 16:20:42 +0200 |
commit | 5223bad17c9bb103fa6f558e936cc1303ecee4bf (patch) | |
tree | f7849fdfc2944e98babb393ef85d701df09ffa77 /guides/code/getting_started/app/views/comments | |
parent | b31a576a5e1632fdca16c857b965c2d196444e25 (diff) | |
download | rails-5223bad17c9bb103fa6f558e936cc1303ecee4bf.tar.gz rails-5223bad17c9bb103fa6f558e936cc1303ecee4bf.tar.bz2 rails-5223bad17c9bb103fa6f558e936cc1303ecee4bf.zip |
docs, remove getting started guide sample application. [ci skip]
This application always gets out of sync and doesn't add much value.
Closes #15721
/cc @rafaelfranca
Diffstat (limited to 'guides/code/getting_started/app/views/comments')
-rw-r--r-- | guides/code/getting_started/app/views/comments/_comment.html.erb | 15 | ||||
-rw-r--r-- | guides/code/getting_started/app/views/comments/_form.html.erb | 13 |
2 files changed, 0 insertions, 28 deletions
diff --git a/guides/code/getting_started/app/views/comments/_comment.html.erb b/guides/code/getting_started/app/views/comments/_comment.html.erb deleted file mode 100644 index f7cbfaebfa..0000000000 --- a/guides/code/getting_started/app/views/comments/_comment.html.erb +++ /dev/null @@ -1,15 +0,0 @@ -<p> - <strong>Commenter:</strong> - <%= comment.commenter %> -</p> - -<p> - <strong>Comment:</strong> - <%= comment.body %> -</p> - -<p> - <%= link_to 'Destroy Comment', [comment.article, comment], - method: :delete, - data: { confirm: 'Are you sure?' } %> -</p> diff --git a/guides/code/getting_started/app/views/comments/_form.html.erb b/guides/code/getting_started/app/views/comments/_form.html.erb deleted file mode 100644 index 5850c41a17..0000000000 --- a/guides/code/getting_started/app/views/comments/_form.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -<%= form_for([@article, @article.comments.build]) do |f| %> - <p> - <%= f.label :commenter %><br /> - <%= f.text_field :commenter %> - </p> - <p> - <%= f.label :body %><br /> - <%= f.text_area :body %> - </p> - <p> - <%= f.submit %> - </p> -<% end %> |