Sha256: 018f023b3da4367c3c5151bbf605ae4e94b49b4ae1ed6f6eb87dde9d3c7f6183
Contents?: true
Size: 1.07 KB
Versions: 14
Compression:
Stored size: 1.07 KB
Contents
<% provide(:page_title,t("action.update") + " #{@model.display_name.capitalize}") -%> <% breadcrumb_add( @model.display_name.capitalize.pluralize(I18n.default_locale), { :controller => params[:controller], :action => "index" } ) %> <div class="row-fluid"> <div class = "widget widget-padding span12"> <div class = "widget-header"> <%= content_tag(:i, nil, class: "fa fa-#{@model.icon}") %> <h5><%= t("action.update") + " " + @model.display_name %></h5> </div> <div class = "widget-body"> <div class = "widget-forms clearfix"> <%= adminpanel_form_for(resource, :html => {:class => "form-horizontal", :id => "edit_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.save") + " " + @model.display_name, data:{:disable_with => t("action.submitting")}, :id =>"new-resource-button" %> </div> <% end -%> </div> </div> <%= render 'shared/modal' %>
Version data entries
14 entries across 14 versions & 1 rubygems