photomix/app/views/collections/new.html.erb
Alexander Negoda 954e3b68ae upd
2012-07-29 02:33:03 +04:00

8 lines
No EOL
385 B
Text

<%= form_for @collection, :html => {:class => 'form-horizontal'} do |f| %>
<legend><%= t('activerecord.actions.new', :model => I18n.t('activerecord.models.collection.one')) %></legend>
<%= f.error_messages %>
<%= render :partial => "form", :object => f %>
<div class="form-actions">
<%= f.button "Create", :class => 'btn btn-primary btn-large' %>
</div>
<% end %>