Sha256: 53322d2de7669335d66360b5b3260b4ae314641128009c44e41ec1f9981878a5
Contents?: true
Size: 575 Bytes
Versions: 35
Compression:
Stored size: 575 Bytes
Contents
<%= simple_form_for @question, validate: true do |f| %> <%= f.hidden_field :user_id, value: rostra_user.id %> <%= f.input :title %> <%= f.input :details, input_html: {class: 'wysiwyg'} %> <%= f.input :tag_list, label: 'Tags', hint: 'Separate tags with commas', input_html: { class: 'tokenize', 'data-ajax_url' => tags_questions_path } %> <%= f.input :follow_by_email, as: :boolean, input_html: { checked: true }, label: "I want to follow answers and comments on this question" %> <%= f.submit @question.new_record? ? 'Post your question' : 'Update' %> <% end %>
Version data entries
35 entries across 35 versions & 1 rubygems