Sha256: afbc8726f9e26a44bd09dd38535649b1fc227ee612e83e4161c11f63df9ccef9

Contents?: true

Size: 711 Bytes

Versions: 2

Compression:

Stored size: 711 Bytes

Contents

<%%= semantic_form_for @<%= model_name.underscore  %> do |f| %>
  <%%= f.inputs do %>
  <% columns.each do |column| %>
    <%%= f.input :<%= column.name %> %>
  <%- end %>
  <%% end %>

  <div class="group navform wat-cf">
      <button class="button" type="submit">
        <%%= image_tag("activo-2/icons/tick.png", :alt => "#{t("web-app-theme.save", :default => "Save")}") %>
        <%%= t("web-app-theme.save", :default => "Save") %>
      </button>
      <span class="text_button_padding">
        <%%= t("web-app-theme.or", :default => "or") %>
      </span>
      <%%= link_to t("web-app-theme.cancel", :default => "Cancel"), users_path, :class => "text_button_padding link_button" %>
  </div>
<%% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activoate-0.5.0 lib/generators/activoate/activated/templates/view_form_formtastic.html.erb
activoate-0.4.5 lib/generators/activoate/activated/templates/view_form_formtastic.html.erb