Sha256: cff9cdfce9470251affae895db328e20eb8bcafc2f7f4f8e58a09441a276dfb1
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
<%- model_class = clase.constantize -%> <div class="page-header"> <% nuevo = !genclase.nil? && genclase == 'F' ? 'Nueva' : 'Nuevo' %> <% modelo = model_class.human_attribute_name( model_class.model_name.to_s.demodulize) %> <h1> <% if defined?(@titulo) %> <%= @titulo %> <% else %> <%=t '.title', :default => [ "#{nuevo} #{modelo}", :'helpers.titles.new', "New #{modelo}"] %> <% end %> </h1> </div> <%= render :partial => 'form' %>
Version data entries
4 entries across 4 versions & 1 rubygems