diff options
Diffstat (limited to 'guides/code/getting_started/app/views')
-rw-r--r-- | guides/code/getting_started/app/views/posts/show.html.erb | 7 | ||||
-rw-r--r-- | guides/code/getting_started/app/views/tags/_form.html.erb | 12 |
2 files changed, 1 insertions, 18 deletions
diff --git a/guides/code/getting_started/app/views/posts/show.html.erb b/guides/code/getting_started/app/views/posts/show.html.erb index da78a9527b..3445fd8779 100644 --- a/guides/code/getting_started/app/views/posts/show.html.erb +++ b/guides/code/getting_started/app/views/posts/show.html.erb @@ -14,12 +14,7 @@ <b>Content:</b> <%= @post.content %> </p> - -<p> - <b>Tags:</b> - <%= join_tags(@post) %> -</p> - + <h2>Comments</h2> <%= render @post.comments %> diff --git a/guides/code/getting_started/app/views/tags/_form.html.erb b/guides/code/getting_started/app/views/tags/_form.html.erb deleted file mode 100644 index 7e424b0e20..0000000000 --- a/guides/code/getting_started/app/views/tags/_form.html.erb +++ /dev/null @@ -1,12 +0,0 @@ -<%= form.fields_for :tags do |tag_form| %> - <div class="field"> - <%= tag_form.label :name, 'Tag:' %> - <%= tag_form.text_field :name %> - </div> - <% unless tag_form.object.nil? || tag_form.object.new_record? %> - <div class="field"> - <%= tag_form.label :_destroy, 'Remove:' %> - <%= tag_form.check_box :_destroy %> - </div> - <% end %> -<% end %> |