Sha256: cff78e8658302faba04d847ac3cee9ae83cfcbe0c55355d6f7debf577140f242

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

<%%= simple_form_for(<%= "[:#{prefix}, #{singular_table_name}]" %>) do |f| %>
  <%%= f.error_notification %>

  <div class="inputs">
  <%- attributes.each do |attribute| -%>
    <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
  <%- end -%>
  </div>

  <div class="actions">
    <%%= f.submit t('buttons.save'), data: { disable_with: "保存中..." }, class: "ui button primary" %>
    <%%= link_to t('buttons.cancel'), <%= prefixed_index_helper %>_path, class: "ui button" %>
  </div>
<%% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin_help-0.1.5 lib/generators/admin/scaffold_controller/templates/views/erb/_form.html.erb.erb