2012-07-29 00:33:03 +02:00
|
|
|
<%= form_for @collection, :html => {:class => 'form-horizontal'} do |f| %>
|
|
|
|
<legend><%= t('activerecord.actions.new', :model => I18n.t('activerecord.models.collection.one')) %></legend>
|
2009-06-03 22:12:11 +02:00
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :object => f %>
|
2012-07-29 00:33:03 +02:00
|
|
|
<div class="form-actions">
|
|
|
|
<%= f.button "Create", :class => 'btn btn-primary btn-large' %>
|
|
|
|
</div>
|
2009-06-18 15:38:37 +02:00
|
|
|
<% end %>
|