Sha256: bc5a1650f74c5eeae8f43fcda3aca290bd965132dbce352019808c9d4511c14b
Contents?: true
Size: 912 Bytes
Versions: 3
Compression:
Stored size: 912 Bytes
Contents
- title "<%= singular_name.titleize %>" <%- first_attribute = model_attributes.first -%> .item .ui-widget.ui-helper-clearfix{:style => "float:right"} <%- if action? :edit -%> =link_to '', edit_app_<%= singular_name %>_path(@<%= singular_name %>), :class => 'ui-icon ui-icon-pencil edit tip', :title => "Edit This Item" <%- end -%> <%- if action? :destroy -%> =link_to "", @<%= singular_name %>, :confirm => 'Are you sure?', :method => :delete, :class => 'ui-icon ui-icon-close destroy tip', :title => "Destroy This Item" <%- end -%> %h3= link_to @<%= singular_name %>.<%= first_attribute.name %>, @<%= singular_name %> %p = link_to "Preview <%= singular_name.titleize %>", @<%= singular_name %>, :class => 'remote_iframe' <%- for attribute in model_attributes -%> %p %strong <%=attribute.human_name.titleize%>: = @<%= singular_name %>.<%= attribute.name %> <%- end %>
Version data entries
3 entries across 3 versions & 1 rubygems