Remove extra code in bulletin form
This commit is contained in:
parent
172d3d7847
commit
c645c1b5df
|
@ -1,20 +1,5 @@
|
|||
<% # encoding: utf-8 %>
|
||||
|
||||
<%= f.error_messages %>
|
||||
<%= f.select :bulletin_category_id, @bulletin_categorys.collect{|t| [ t.i18n_variable[I18n.locale], t.id ]}, {}, :class => "input-medium" %>
|
||||
|
||||
<% if is_manager? || @bulletin.bulletin_category.authed_users('fact_check').include?(current_user) || current_user.admin?%>
|
||||
<div class="field">
|
||||
<%= label :fact_check_stat, t('announcement.bulletin.fact_check_stat') %>
|
||||
<%= f.radio_button :is_checked, true%>
|
||||
<%= label :is_checked_true, t('announcement.bulletin.fact_check_pass') %>
|
||||
<%= f.radio_button :is_checked, false, (@bulletin.is_checked.nil?? {:checked => true} : {}) %>
|
||||
<%= label :is_checked_false, t('announcement.bulletin.fact_check_not_pass') %>
|
||||
|
||||
<%= label :is_checked_false, t('announcement.bulletin.fact_check_not_pass_reason') %>
|
||||
<%= f.text_field :not_checked_reason %>
|
||||
</div>
|
||||
<% end %>
|
||||
<!--Widget start-->
|
||||
<%= f.error_messages %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue