Sha256: 7ea5d6cb0e92c4c9ce9548e73fa26e263c02a5e4e9d920412189605f471e37f7
Contents?: true
Size: 897 Bytes
Versions: 2
Compression:
Stored size: 897 Bytes
Contents
<% columns.each do |column| %> <div class="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> </div> <%- end -%> <div class="group navform wat-cf"> <button class="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") %> </button> <%%= 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" %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
web-app-theme-0.5.3 | rails_generators/themed/templates/view_form.html.erb |
web-app-theme-0.5.2 | rails_generators/themed/templates/view_form.html.erb |