Sha256: 61b1cf8cbbdfb2f6efe39a1b8e6c5b34fe56aa69336d525984858256eb88b471
Contents?: true
Size: 909 Bytes
Versions: 3
Compression:
Stored size: 909 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/icons/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/icons/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
3 entries across 3 versions & 1 rubygems