Sha256: 41b7c2735da5eb9180d93c4e70eb9001a0c26657bb1c04229365e325fb52a5a5

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

<%- model_class = clase.constantize -%>
<div class="page-header">
  <% if !defined?(@formulario_sin_titulo) || !@formulario_sin_titulo %>
    <h1>
      <% if defined?(@titulo) %>
        <%= @titulo %>
      <% else %>
        <%=t '.title', 
          :default => [
            t("Edita") + " " + model_class.human_attribute_name(
              model_class.model_name.to_s.demodulize) 
          ] %>
      <% end %>
    </h1>
  <% end %>
</div>

<%= render :partial => 'form' %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
msip-2.2.0.beta1 app/views/msip/modelos/edit.html.erb
msip-2.2.0.alfa3 app/views/msip/modelos/edit.html.erb
msip-2.2.0.alfa2 app/views/msip/modelos/edit.html.erb
msip-2.2a2 app/views/msip/modelos/edit.html.erb