Sha256: 39174afd4df7b3392656f2ad9a4b800ac4ecca495e5d5e31e496852aa6863e20

Contents?: true

Size: 946 Bytes

Versions: 33

Compression:

Stored size: 946 Bytes

Contents

<%
  doc = Jinda::Doc.new :issue_on=> Date.today, :process_at => Time.now
%>
<%= fields_for doc do |f| %>

    <%= f.select :x, [["SELECTION 1", 1], ["SELECTION  2", 2], ["SELECTION  3", 3]] %>


  <%= f.label :x, "Reference number" %>
  <%= f.text_field :x %>
  <!--div>
    <%= f.label :w, "Confidential" , :class=>"ui-input-text" %>
    <%= f.select :w, [['normal',0],['secret',1],['top secret',2]],{},"data-native-menu"=>"false" %>
  </div-->
  <%= f.label :issue_on, "Dated" %>
  <%= f.date_field :issue_on, "blackDays"=>[0,6] %>
  <%= f.label :y, "Summary" %>
  <%= f.text_area :summary, :cols=>50, :rows=>6 %>
  <%= f.label :dscan, "Attached document" %>
  <%= f.file_field :dscan %>
<% end %>
<%= label_tag :z, "Ungroup field" %>
<%= text_field_tag :z %>
<!--div>
  <%= label_tag :yes, "Logic field", :class=>"ui-input-text" %>
  <%= select_tag :yes, options_for_select([['Yes', 'y'], ['No', 'n']],'y'), 'data-role'=>"slider" %>
</div-->

Version data entries

33 entries across 14 versions & 2 rubygems

Version Path
jinda-0.5.2 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.5.2 lib/jinda/app/jinda/template/view.html.erb
jinda-0.5.1 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.5.1 lib/jinda/app/jinda/template/view.html.erb
jinda-0.5.0 lib/jinda/app/jinda/template/view.html.erb
jinda-0.5.0 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.4.9 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.4.9 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.8 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.8 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.4.7 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.7 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.4.6 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.6 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-5-0.4.5 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-5-0.4.5 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.5 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.5 lib/generators/jinda/templates/app/jinda/template/view.html.erb
jinda-0.4.4 lib/jinda/app/jinda/template/view.html.erb
jinda-0.4.4 lib/jinda/ template/view.html.erb