Sha256: 31e58c2e5ac9286477742eb5155d6c4f19fda9f42f2fe4a3e2d5b87dfe87306f
Contents?: true
Size: 944 Bytes
Versions: 21
Compression:
Stored size: 944 Bytes
Contents
<%- @title= 'Template for Document' %> <% doc = Jinda::Doc.new :issue_on=> Date.today, :process_at => Time.now %> <h1> <%= @title %> </h1> <div class = "module-table"> <%= fields_for doc do |f| %> <%= f.label :category, "Category" %> <%= f.select :category, [["Book", "book"], ["Letter", "letter"], ["Brochure", "brochure"]] %> <%= f.label :issue_on, "Dated" %> <%= f.date_field :issue_on, "blackDays"=>[0,6] %> <%= f.label :dscan, "Attached document" %> <%= f.file_field :dscan %> <% end %> <div> <%= label_tag :description, "Description" %> <%= text_field_tag :description %> </div> <div> <%= label_tag :ma_display, "Display", :class=>"ui-input-text" %> <%= select_tag :ma_display, options_for_select([['Yes', 'y'], ['No', 'n']],'y'), 'data-role'=>"slider" %> </div> <div> <%= label_tag :keywords, "Search Keywords" %> <%= text_field_tag :keywords %> </div> </div>
Version data entries
21 entries across 18 versions & 2 rubygems