spec/rails_app/app/views/articles/edit.html.erb in activity_notification-0.0.10 vs spec/rails_app/app/views/articles/edit.html.erb in activity_notification-1.0.0
- old
+ new
@@ -1,6 +1,8 @@
-<h1>Editing Article</h1>
-
-<%= render 'form' %>
-
-<%= link_to 'Show', @article %> |
-<%= link_to 'Back', articles_path %>
+<section>
+ <h1>Editing Article</h1>
+ <%= render partial: 'form', locals: { submit_message: "Update Article" } %>
+ <div class="left_button_wrapper">
+ <%= link_to 'Show', @article, class: "gray_button" %>
+ <%= link_to 'Back', articles_path, class: "gray_button" %>
+ </div>
+</section>
\ No newline at end of file