Sha256: ee24a71e5a47a20f4fd699bc8c5ca45f49bc8596bf095a39a17fcd184ca94771
Contents?: true
Size: 619 Bytes
Versions: 3
Compression:
Stored size: 619 Bytes
Contents
- title "Edit <%= singular_name.titleize %>" <%- if form_partial? -%> - form_for @<%= singular_name %> do |f| = render :partial => "form", :locals => { :f => f, :submit_button => t("label.update") } <%- else -%> <%= read_template("views/haml/_form.html.haml") -%> <%- end -%> <%- if actions? :show, :destroy, :index -%> <%- if action? :destroy -%> = link_to t("label.destroy"), <%= singular_name %>, :confirm => t("confirm.destroy"), :method => :delete, :class => "button negative" <%- end -%> <%- if action? :index -%> = link_to t("label.back"), <%= plural_name %>_path, :class => "button" <%- end -%> <%- end -%>
Version data entries
3 entries across 3 versions & 1 rubygems