Sha256: b69c33597a4ceec5d6c62247feec8045e92bc9975af65670dde4e8dc633b492f
Contents?: true
Size: 1 KB
Versions: 11
Compression:
Stored size: 1 KB
Contents
<% provide(:page_title, t("action.create") + " #{@model.display_name.capitalize}") -%> <% breadcrumb_add( @model.display_name.capitalize.pluralize, { :controller => params[:controller], :action => "index" } ) %> <div class="row-fluid"> <div class = "widget widget-padding span12"> <div class = "widget-header"> <%= content_tag(:i, nil, :class => @model.icon) %> <h5><%= t("action.create") + " " + @model.display_name %></h5> </div> <div class = "widget-body"> <div class = "widget-forms clearfix"> <%= custom_form_for(resource, :html => {:class => "form-horizontal", :id => "new_resource"}) do |f| -%> <%= render 'shared/error_messages', :object => resource %> <%= render 'shared/form_fields', :f => f %> </div> </div> <div class = "widget-footer"> <%= f.submit t("action.add") + " " + @model.display_name, :disable_with => t("action.submitting"), :id =>"new-resource-button" %> </div> <% end -%> </div> </div>
Version data entries
11 entries across 11 versions & 1 rubygems