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

Version Path
adminpanel-2.2.5 app/views/shared/edit.html.erb
adminpanel-2.2.4 app/views/shared/edit.html.erb
adminpanel-2.2.3 app/views/shared/edit.html.erb
adminpanel-2.2.2 app/views/shared/edit.html.erb
adminpanel-2.2.1 app/views/shared/edit.html.erb
adminpanel-2.2.0 app/views/shared/edit.html.erb
adminpanel-2.1.7 app/views/shared/edit.html.erb
adminpanel-2.1.6 app/views/shared/edit.html.erb
adminpanel-2.1.5 app/views/shared/edit.html.erb
adminpanel-2.1.3 app/views/shared/edit.html.erb
adminpanel-2.1.2 app/views/shared/edit.html.erb
adminpanel-2.1.1 app/views/shared/edit.html.erb
adminpanel-2.1.0 app/views/shared/edit.html.erb
adminpanel-2.0.1 app/views/shared/edit.html.erb