The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: October 8th 2015
- Original post
| {"lastUpload":"2019-11-19T13:16:57.986Z","extensionVersion":"v3.4.3"} |
| $dark-primary: #0097A7; | |
| $primary: #00BCD4; | |
| $light-primary: #B2EBF2; | |
| $text: #FFFFFF; | |
| $accent: #FF5252; | |
| $primary-text: #212121; | |
| $secondary-text: #727272; | |
| $divider: #b6b6b6; | |
| .section-pricing { |
| @grouped = {} | |
| Deal.all.each do |deal| | |
| letter = deal.background.slice(0,1).upcase | |
| @grouped[letter] ||= [] | |
| @grouped[letter] << deal | |
| end |
| <%= form_for [@company, @activity], :remote=> true, :validate=>true do |f| %> | |
| <%= f.label :title %> | |
| <%= f.text_field :title, :class => "input-width bottom-border"%> | |
| <%= f.label :activity_category_id %> | |
| <%= f.collection_select(:activity_category_id, ActivityCategory.all, :id, :activity_category) %> | |
| <%= f.label :background %> | |
| <%= f.text_area :background, :class => "area-height area-width bottom-border" %> |
| <fieldset> | |
| <div class="control-group"> | |
| <%= f.label :place, :class => "remember control-label" %> | |
| <div class="controls"> | |
| <%= f.select :place, ['Work', 'Mobile', 'Other'], {}, { :class => "input-xlarge" } %> | |
| </div> | |
| </div> | |
| <div class="control-group"> | |
| <%= f.label :number, :class => "control-label" %> | |
| <div class="controls"> |
| <%= form_for [@company, @activity], :remote=> true, :validate => true do |f| %> | |
| <%= f.label :title %> | |
| <%= f.text_field :title, :class => "input-width bottom-border"%> | |
| <%= f.label :background %> | |
| <%= f.text_area :background, :class => "area-height area-width bottom-border" %> | |
| <%= f.collection_select(:activity_category_id, ActivityCategory.all, :id, :activity_category) %> |
| <address> | |
| <%= deal.value %><br> | |
| <%= deal.background %><br> | |
| </address> | |
| <div class="no-radio"> | |
| <div class="btn-group" data-toggle="buttons-radio"> | |
| <%= form_tag status_deal_path(deal), :remote => true, :class => "deals_status" do %> | |
| <%= radio_button_tag :state, "won"+deal.id.to_s, deal.state == "won", :class => "toggle-btn-left toggle-btn", :value =>"won" %> |
| <address> | |
| <%= deal.value %><br> | |
| <%= deal.background %><br> | |
| </address> | |
| <div class="no-radio"> | |
| <div class="btn-group" data-toggle="buttons-radio"> | |
| <%= form_tag status_deal_path(deal), :remote => true, :class => "deals_status" do %> |