Sha256: 2afba5b56bd4e8da7f59b02018c87b9dd292573f43cd7fddb3642d4fe4adba7b

Contents?: true

Size: 1 KB

Versions: 9

Compression:

Stored size: 1 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>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adminpanel-1.2.7 app/views/shared/edit.html.erb
adminpanel-1.2.6 app/views/shared/edit.html.erb
adminpanel-1.2.5 app/views/shared/edit.html.erb
adminpanel-1.2.4 app/views/shared/edit.html.erb
adminpanel-1.2.3 app/views/shared/edit.html.erb
adminpanel-1.2.2 app/views/shared/edit.html.erb
adminpanel-1.2.1 app/views/shared/edit.html.erb
adminpanel-1.2.0 app/views/shared/edit.html.erb
adminpanel-1.1.0 app/views/shared/edit.html.erb