Sha256: ccd9c8c1c1f1522cb1d651c8bbcb43a7f2c8dbcfef8f13058331bbc0b9f11e70

Contents?: true

Size: 695 Bytes

Versions: 8

Compression:

Stored size: 695 Bytes

Contents

<%%= simple_form_for(@<%= name %>) do |f| %>
  <%%= f.error_notification %>

  <%%= f.input :email, autofocus: true %>
  <%%= f.input :name %>
  <%%= f.input :active %>
  <%%= f.input :password %>
  <%%= f.input :password_confirmation %>
  <%%= f.input :status %>
  <%%= f.input :theme %>

  <%%= f.button :submit, class: 'btn btn-primary' %>
  <%%- if @<%= name %>.new_record? -%>
    <%%= link_to t('actions.back.index'), <%= table_name %>_path, class: 'btn btn-default' %>
  <%%- else -%>
    <%%= link_to t('actions.back.show'), @<%= name %>, class: 'btn btn-default' %>
    <%%= link_to t('actions.back.index'), <%= table_name %>_path, class: 'btn btn-default' %>
  <%%- end -%>
<%% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bootswatch_rails-3.2.0.11 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.10 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.9 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.8 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.7 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.6 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.5 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.4 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb