Sha256: abe8dbb0cdb8dd241a76b576a4ce63d38e8276f267cec0a11ab1b7a8d620c8d9
Contents?: true
Size: 906 Bytes
Versions: 2
Compression:
Stored size: 906 Bytes
Contents
<% columns.each do |column| %> <div class="group"> <%%= f.label :<%= column.name.humanize %>, 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.1 | rails_generators/themed/templates/view_form.html.erb |
web-app-theme-0.5.0 | rails_generators/themed/templates/view_form.html.erb |