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
342 B
Plaintext

<%= error_messages_for :style %>
<% form_for(:style, :url => style_path(@style.page.title_for_url), :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 -%>