Sha256: a1a689120171f8e62810244ec0fb9abbafe9f62464bf1c0b47a8bd4a11fa223c
Contents?: true
Size: 802 Bytes
Versions: 1
Compression:
Stored size: 802 Bytes
Contents
<% columns.each do |column| %> .group = f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label = f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>' <span class="description">Ex: a simple text</span> <%- end -%> .group.navform.wat-cf %button.button{:type => 'submit'} = image_tag("web-app-theme/tick.png", :alt => "#{t("web-app-theme.save", :default => "Save")}") = t("web-app-theme.save", :default => "Save") = link_to "#{image_tag("web-app-theme/cross.png", :alt => "#{t("web-app-theme.cancel", :default => "Cancel")}")} #{t("web-app-theme.cancel", :default => "Cancel")}", <%= controller_routing_path %>_path, :class => "button"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
web-app-theme-0.5.3 | rails_generators/themed/templates/view_form.html.haml |