diff --git a/README.md b/README.md index f430ade0..99c00a08 100644 --- a/README.md +++ b/README.md @@ -64,17 +64,17 @@ Instantly get a simple CRUD interface ``` - Rspec setup - add `gem 'rspec-rails'` to your gemfile inside :development and :test - add `gem 'factory_bot_rails'` to your gemfile inside :development and :test - run `rails generate rspec:install` - configure Rspec to work with Factory Bot inside of `rails_helper.rb` + - add `gem 'rspec-rails'` to your gemfile inside :development and :test + - add `gem 'factory_bot_rails'` to your gemfile inside :development and :test + - run `rails generate rspec:install` + - configure Rspec to work with Factory Bot inside of `rails_helper.rb` ``` RSpec.configure do |config| // ... more rspec configuration (not shown) config.include FactoryBot::Syntax::Methods end ``` - + more info: https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#rspec - for a quick Capybara login, create a support helper in `spec/support/` and log-in as your user @@ -354,7 +354,10 @@ If you do not want inline editing of your list items but instead to fall back to # VERSION HISTORY -#### 2021-04-28 - v0.1.0 - Very please to introduce full behavior specs, found in specs/system/, generated by default on all build code; also many fixes involving nesting and authentication" +#### - v0.1.1 - + + +#### 2021-04-28 - v0.1.0 - Very pleased to introduce full behavior specs, found in specs/system/, generated by default on all build code; also many fixes involving nesting and authentication" #### 2021-03-24 - v0.0.9 - fixes in the automatic field label detection; cleans up junk in spec output diff --git a/lib/generators/hot_glue/templates/_form.haml b/lib/generators/hot_glue/templates/_form.haml index d2794452..af6c5f69 100644 --- a/lib/generators/hot_glue/templates/_form.haml +++ b/lib/generators/hot_glue/templates/_form.haml @@ -1,4 +1,5 @@ .row <%= all_form_fields %> .col + = link_to "Cancel", accounts_path, {class: "btn btn-secondary"} = f.submit "Save", class: "btn btn-primary pull-right" diff --git a/lib/hotglue/version.rb b/lib/hotglue/version.rb index f45b690f..52f1d84a 100644 --- a/lib/hotglue/version.rb +++ b/lib/hotglue/version.rb @@ -1,3 +1,3 @@ module HotGlue - VERSION = '0.1.0' + VERSION = '0.1.1' end