Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Final fixes before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
halfdan committed Feb 1, 2016
1 parent 92787c6 commit 0257e33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,3 @@ DEPENDENCIES
semantic_range
sqlite3
unirest

BUNDLED WITH
1.11.2
6 changes: 4 additions & 2 deletions app/views/badges/_form.haml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
= f.error_messages
%div.form-group
= f.label :label, caption: "Badge label"
= f.text_field :label, placeholder: 'ember-versions', class: 'form-control'
= f.text_field :label, placeholder: 'ember', class: 'form-control'
%div.form-group
= f.label :title, caption: "Title of your page (for later identification)"
= f.text_field :title, placeholder: 'Amazing article about Ember.js', class: 'form-control'
%div.form-group
= f.label :url, caption: "URL this badge will appear on"
= f.url_field :url, placeholder: 'http://myblog.com/ember-js-rocks', class: 'form-control'
%hr
%p You can enter a start and an optional end version or a <a href="https://docs.npmjs.com/misc/semver#Ranges">version range</a>. Versions must be given in valid semver format (x.y.z).
%div.form-group
= f.label :version_start
= f.text_field :version_start, class: 'form-control'
= f.text_field :version_start, class: 'form-control', placeholder: "2.3.0"
%div.form-group
= f.label :version_end
= f.text_field :version_end, class: 'form-control'
Expand Down
8 changes: 5 additions & 3 deletions app/views/changes/_form.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
= f.error_messages
%div.form-group
= f.label :comment
= f.text_area :comment, class: 'form-control', placeholder: "Explain why you think the badge needs to be updated."
%hr
%p You can enter a start and an optional end version or a <a href="https://docs.npmjs.com/misc/semver#Ranges">version range</a>. Versions must be given in valid semver format (x.y.z).
%div.form-group
= f.label :version_start
= f.text_field :version_start, class: 'form-control'
Expand All @@ -8,9 +13,6 @@
%div.form-group
= f.label :version_range
= f.text_field :version_range, class: 'form-control'
%div.form-group
= f.label :comment
= f.text_area :comment, class: 'form-control'

%div.form-group
= f.submit "Submit", class: 'btn btn-default'

0 comments on commit 0257e33

Please sign in to comment.