Sha256: fc8d2a04a12f5a4416a5c6f52d095f6b7978798ed0ecdd0db61383a629e7f84c

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

<% provide(:page_title,t("action.update") + " #{@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.update") + " " + @model.display_name %></h5>
    </div>
    <div class = "widget-body">
      <div class = "widget-forms clearfix">
        <%= custom_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, :disable_with => t("action.submitting"), :id =>"new-resource-button" %>
    </div>
      <% end -%>
  </div>
</div>
<%= render 'shared/modal' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminpanel-1.2.12 app/views/shared/edit.html.erb
adminpanel-1.2.11 app/views/shared/edit.html.erb
adminpanel-1.2.10 app/views/shared/edit.html.erb