diff --git a/app/views/blogposts/edit.html.erb b/app/views/blogposts/edit.html.erb index e2e87ec..6b24834 100644 --- a/app/views/blogposts/edit.html.erb +++ b/app/views/blogposts/edit.html.erb @@ -5,4 +5,5 @@ <%= f.text_area :content, class: "vertical" %>
<%= f.submit "Update Post", class: "btn blue left" %>
<% end %> -<%= button_to "Delete post", @post, method: "delete", data: {confirm: "Delete post & comments forever?"}, class: "btn red right" %>
\ No newline at end of file +<%= button_to "Delete post", @post, method: "delete", data: {confirm: "Delete post & comments forever?"}, class: "btn red right" %>
+ \ No newline at end of file diff --git a/app/views/comments/edit.html.erb b/app/views/comments/edit.html.erb index 4dce085..2a02537 100644 --- a/app/views/comments/edit.html.erb +++ b/app/views/comments/edit.html.erb @@ -5,4 +5,5 @@ <%= f.text_area :content, placeholder: "Comment" %><%= f.submit "Update Comment", class: "btn blue left" %>
<% end %> -<%= button_to "Delete comment", [@comment.blogpost, @comment] , method: "delete", data: {confirm: "Delete comment forever?"}, class: "btn red right" %>
\ No newline at end of file +<%= button_to "Delete comment", [@comment.blogpost, @comment] , method: "delete", data: {confirm: "Delete comment forever?"}, class: "btn red right" %>
+ \ No newline at end of file diff --git a/app/views/forumgroups/edit.html.erb b/app/views/forumgroups/edit.html.erb index 6edb410..0da67b2 100644 --- a/app/views/forumgroups/edit.html.erb +++ b/app/views/forumgroups/edit.html.erb @@ -34,4 +34,5 @@<%= f.submit "Update group", class: "btn blue left" %>
<% end %> -<%= button_to "Delete group", @post, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %>
\ No newline at end of file +<%= button_to "Delete group", @post, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %>
+ \ No newline at end of file diff --git a/app/views/forumthreads/edit.html.erb b/app/views/forumthreads/edit.html.erb index ec5bcc5..ee87009 100644 --- a/app/views/forumthreads/edit.html.erb +++ b/app/views/forumthreads/edit.html.erb @@ -28,4 +28,5 @@ <%= f.text_area :content, placeholder: "Text" %><%= f.submit "Update thread", class: "btn blue left" %>
<% end %> -<%= button_to "Delete thread", @thread, :method => "delete", data: {confirm: "Delete thread & comments forever?"}, class: "btn red right" %> \ No newline at end of file +<%= button_to "Delete thread", @thread, :method => "delete", data: {confirm: "Delete thread & comments forever?"}, class: "btn red right" %> + \ No newline at end of file diff --git a/app/views/info/edit.html.erb b/app/views/info/edit.html.erb index dc64104..18291be 100644 --- a/app/views/info/edit.html.erb +++ b/app/views/info/edit.html.erb @@ -5,4 +5,5 @@ <%= f.text_area :content, class: "vertical" %><%= f.submit "Update Info", class: "btn blue left" %>
<% end %> -<%= button_to "Delete Info", @info, method: "delete", data: {confirm: "Delete Info forever?"}, class: "btn red right" %>
\ No newline at end of file +<%= button_to "Delete Info", @info, method: "delete", data: {confirm: "Delete Info forever?"}, class: "btn red right" %>
+ \ No newline at end of file diff --git a/app/views/threadreplies/edit.html.erb b/app/views/threadreplies/edit.html.erb index 9371740..943adcf 100644 --- a/app/views/threadreplies/edit.html.erb +++ b/app/views/threadreplies/edit.html.erb @@ -5,4 +5,5 @@ <%= f.text_area :content, placeholder: "Text" %><%= f.submit "Reply", class: "btn blue left" %>
<% end %> -<%= button_to "Delete reply", [@reply.thread, @reply], method: "delete", data: {confirm: "Delete reply forever?"}, class: "btn red right" %>
\ No newline at end of file +<%= button_to "Delete reply", [@reply.thread, @reply], method: "delete", data: {confirm: "Delete reply forever?"}, class: "btn red right" %>
+ \ No newline at end of file