8 lines
No EOL
385 B
Text
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 %> |