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

Version Path
jinda-0.8.0 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.8.0 test/dummy/app/jinda/template/view.html.erb
jinda-0.7.7.4 test/dummy/app/jinda/template/view.html.erb
jinda-0.7.7.4 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.7.3 test/dummy/app/jinda/template/view.html.erb
jinda-0.7.7.3 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.7.2 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.7.1 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda_mind-1.0.0 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.7 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.6 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.5.5 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.5.4 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.5.3 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.5.2 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.5.0 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.3 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.2 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.1 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.7.0.4 lib/generators/jinda/templates/app/jinda/template/view.html.erb