test/tmp/views/product/new.rhtml in masterview-0.2.5 vs test/tmp/views/product/new.rhtml in masterview-0.3.0
- old
+ new
@@ -1,29 +1,29 @@
<div class="new_div" id="product_new" mv:preview="showOne">
<div class="product_new sidebar">
<h1>Tasks:</h1>
<ul>
- <li><%= link_to 'Back to overview', :action => 'list' %></li>
+ <li><%= link_to( 'Back to overview', { :action => 'list' }, :class => "list_link" ) %></li>
</ul>
</div>
<div class="product_new content">
<h1>Products</h1>
- <%= form_tag :action => 'new' %>
+ <%= form_tag( :action => 'new' ) %>
<div class="form">
<h2>Creating product</h2>
<%= render( :partial => 'product/form' ) %>
</div>
<br />
<div class="product_new operations">
- <%= submit_tag 'OK' %>
+ <%= submit_tag( 'OK', :class => "primary save_button" ) %>
<input class="cancel_button" onclick="window.location.href = '<%= url_for :action => %q{list} %>';" style="width: auto;" type="button" value="Cancel" />
</div>
- <%= end_form_tag %>
+ </form>
</div>
</div>
\ No newline at end of file