Sha256: ca62d33313f366e95210717033a6ddba728714bd99426e07ce0257ed71261eac

Contents?: true

Size: 678 Bytes

Versions: 11

Compression:

Stored size: 678 Bytes

Contents

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

  <%%= f.input :email %>
  <%%= 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

11 entries across 11 versions & 1 rubygems

Version Path
bootswatch_rails-3.2.0.3 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.2 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.2.0.1 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.18 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.17 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.16 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.15 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.14 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.13 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.11 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb
bootswatch_rails-3.1.1.10 lib/generators/bootswatch_rails/sorcery/templates/_form.html.erb