Sha256: f7aea50d806ecfeff890fb03f3b21c56b3718e26dc12e0d0a4c4bfc698567940

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

<%%= labelled_form_for(@<%= singular_table_name %><%= maybe_remote %>) do |f| %>
  <%%= error_messages_for "<%= singular_table_name %>" %>

  <div class="box tabular">
<% attributes.each do |attribute| -%>
    <p><%%= f.<%= attribute.field_type %> :<%= attribute.name %> %></p>
<% end -%>
  </div>

  <p class="buttons">
    <%%= f.submit %>
    <%%= submit_tag l(:button_cancel), <%= key_value :onclick, '"hideModal(this);"' %>, <%= key_value :type, '"button"' %> %>
  </p>
<%% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine-generators-0.0.1 lib/redmine/generators/templates/rails/scaffold/_form.js.erb