Sha256: 7935e0019b1e1d98e4eebc71f386d784fd48ec29836d4773f78a007520bf5fa0
Contents?: true
Size: 822 Bytes
Versions: 1
Compression:
Stored size: 822 Bytes
Contents
<%= simple_form_for @purchase, html: { class: 'form-horizontal' } do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :title %> <%= f.input :description, input_html: { class: 'input-xxlarge', rows: 4 } %> <%= f.input :purchase_date, :wrapper => :prepend do %> <%= content_tag :span, '<i class="icon-th"></i>'.html_safe, class: "add-on calendar" %><%= f.input_field :purchase_date, as: :datepicker, data: { 'date-format' => 'dd/mm/yyyy' } %> <% end %> <%= f.input :warranty_duration, collection: [["6 months", 6], ["1 year", 12], ["2 years", 24], ["3 years", 36]], input_html: { class: 'input-small' } %> <%= f.input :receipt %> </div> <div class="form-actions"> <%= button_tag '<i class="icon-ok"></i> Save'.html_safe, class: 'btn' %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookkeeper-0.0.1.beta1 | app/views/bookkeeper/purchases/_form.html.erb |