Skip to content

Instantly share code, notes, and snippets.

# my form:
<%= form_for [refinery, :projects_admin, @project] do |f| -%>
<%= render '/refinery/admin/error_messages', :object => @project, :include_object_name => true %>
<%= render '/refinery/admin/locale_picker', :current_locale => Globalize.locale %>
<div class='field'>
<%= f.label :name -%>
<%= f.text_field :name, :class => 'larger widest' -%>
</div>