midify checkbox value
This commit is contained in:
parent
26436395f5
commit
9501bf2df3
|
@ -62,9 +62,9 @@
|
|||
<li>
|
||||
<%= check_box_tag "writing_journal[journal_level_type_ids][]",
|
||||
level_type.id,
|
||||
@writing_journal.journal_level_type_ids.include?(level_type.id)
|
||||
@writing_journal.journal_level_type_ids.include?(level_type.id),
|
||||
id: "field-#{i}"
|
||||
%><%= label_tag("field-#{i}", level_type.title) %>
|
||||
<%= hidden_field_tag "field-#{i}", '' %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
@ -153,9 +153,8 @@
|
|||
<%= label_tag("", "Full Text", class: "s_grid_2 s_grid") %>
|
||||
</li>
|
||||
<li class="s_grid_row">
|
||||
<%= f.file_field :file, size: "20", class: "s_grid_4 s_grid"%>
|
||||
<%= f.file_field :writing_journal_files, size: "20", class: "s_grid_4 s_grid"%>
|
||||
</li>
|
||||
|
||||
<li class="s_grid_row">
|
||||
<%= f.text_area :note, size: "20x2", value: "Note", class: "s_grid_6 s_grid"%>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue