Skip to content

Commit

Permalink
fixes layout
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieIGG committed Dec 30, 2019
1 parent b3f758b commit 5ffe1c4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .bash_history
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,12 @@ bundle
rails assets:clobber
echo $STARTUPAPP_WEBPACKER_DEV_SERVER_PORT
env
rails db:create
rspec
rspec
rspec
rails webpacker:compile
webpack
yarn install
rspec
rspec
1 change: 1 addition & 0 deletions .config/pulse/689cfabc30776e6bfe2e7477e81eaa6d-runtime
4 changes: 2 additions & 2 deletions app/views/users/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</div>
<div class="form-group">
<label for="roles">Roles</label>
<%= select_tag 'roles[0]', ["Member", "Admin"],
{ include_hidden: false, selected: "member" },
<%= select_tag 'roles[0]', options_for_select(["Member", "Admin"]),
include_hidden: false, selected: "member",
multiple: true,
class:"form-control select--main auto-select2 select-select2",
required: true %>
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Prevent database truncation if the environment is production
abort('The Rails environment is running in production mode!') if Rails.env.production?
abort('The Rails environment is running in production mode!') if Rails.env.development?
abort('The Rails environment is running in development mode!') if Rails.env.development?
require 'rspec/rails'
# require 'simplecov_helper'
# Add additional requires below this line. Rails is not loaded until this point!
Expand Down

0 comments on commit 5ffe1c4

Please sign in to comment.