Sha256: efcd83dbfe6c5150b85865ebf1183755c7c5556b20072f77a599a59673370b69
Contents?: true
Size: 632 Bytes
Versions: 3
Compression:
Stored size: 632 Bytes
Contents
<%% title "<%= singular_name.titleize %>" %> <%- for attribute in model_attributes -%> <p> <b><%= attribute.human_name.titleize %>:</b> <%%= @<%= singular_name %>.<%= attribute.name %> %> </p> <%- end -%> <div id="control_box"> <%%= link_to( image_tag("back.png"), admin_<%= plural_name %>_path, :title => "Voltar" ) %> | <%%= link_to( image_tag("edit.png"), edit_admin_<%= singular_name %>_path(@<%= singular_name %>), :title => "Editar" ) %> | <%%= link_to( image_tag("delete.png"), [:admin, @<%= singular_name %>], :confirm => 'Tem certeza que deseja excluir?', :method => :delete, :title => "Exlcuir" ) %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems