This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/styles/edit.rhtml

14 lines
323 B
Plaintext
Raw Permalink Normal View History

<%= error_messages_for :style %>
<% form_for(:style, :url => style_path(@style), :html => { :method => :put }) do |f| %>
<%= render :partial => 'style_form' %>
<p>
<%= submit_tag "Update" %>
</p>
<% end %>
<% content_for :sidebar do -%>
<%= new_style_link -%><br />
<%= show_style_link(@style) -%><br />
<% end -%>